removeUndefined is not a function in strapi-provider-email-mailjet

Message:
Hi there,

I’m encountering an error when using strapi-provider-email-mailjet:


TypeError: removeUndefined is not a function
The error occurs in the send method when calling removeUndefined. It seems the function is either missing or not properly imported from @strapi/utils.

Steps to Reproduce:

-Install strapi-provider-email-mailjet.

-Configure Mailjet API keys.

-Attempt to send an email.

Environment:

Strapi: v5.6.0

Node.js: v20.18.1

Package: strapi-provider-email-mailjet@4.0.0

"@strapi/utils": "^5.6.0",

Temporary Workaround:
I added a custom removeUndefined function, but this isn’t ideal.

Could you please check if this is a known issue or provide a fix?

Thanks!