You can send attachments through Mailjet using the SMTP relay or Send API. To ensure optimal performance and deliverability, attachments cannot be added directly through Mailjet's Email Editor.
What is the maximum email size?
The total size of an email must not exceed 15 MB. This limit applies to all Mailjet plans and includes the email content and all attachments, including inline attachments such as embedded images.
The 15 MB limit applies to the entire message, not to each attachment separately. If you attach several files, their combined size must leave enough room for the rest of the email.
How can I send an attachment?
To send an email with an attachment, use one of the following methods:
- SMTP relay: Add the attachment in the application you use to send emails through Mailjet's SMTP relay.
- Send API: Include the attachment in your API request. See our Send API attachment guide for instructions and examples.
How long are transactional email attachments stored?
For transactional emails sent through Mailjet's SMTP relay or Send API, Mailjet retains the raw data used to generate the email, including its attachments, for a maximum of 48 hours.
While this data is available, our Support team can retrieve it upon request for troubleshooting purposes. Retrieval is performed manually for individual messages, so bulk retrieval requests cannot be fulfilled.
Should I use attachments in bulk emails?
We recommend sharing a download link instead of adding attachments to bulk emails. Bulk emails containing attachments can raise red flags with Internet Service Providers (ISPs) and email providers, which may treat these messages as suspicious or classify them as spam.
Attachments increase message size and may be blocked by recipients' email providers or email applications. Recipient providers may enforce size limits even lower than Mailjet's 15 MB limit. Recipients may hesitate to open unexpected attachments, which can reduce engagement.
Host the file on your website or a suitable file-sharing service, then add a clear download link to your email. This keeps your message smaller and allows you to measure engagement through link clicks when click tracking is enabled.