Hello Rinku,
I’m probably a little late, in case any one is facing a similar issue. You’ll need to check the documentation for underline npm module used by your strapi email provider.
In my case, I was using provider-email-mailgun which uses the mailgun-js (package has been deprecated)
As their documentation states for attachment
https://www.npmjs.com/package/mailgun-js#attachments
I’ve used the following options in order to send a single attachement
const {
files: cv
} = ctx.request.files;
...
await strapi.plugins['email'].services.email.send({
to: email,
from: 'hireme@noqta.tn',
subject: subject,
text: message,
html: message,
attachment: cv.path,
});
Please note its attachment without an ‘s’. In case you are looking to send multiple files, I believe it would be better to use the module directly as it looks the strapi mailgun mail provider does handle the use case for now.