Attachments
A template can carry attachments. There are three kinds, and they can be mixed on one template.
The three kinds
- Google Drive file — picked via the Drive account connected to your workspace. The same file is attached to every send.
- URL — a fixed link that Elixpo Mails fetches and attaches at send time.
{{variable}}— a per-send attachment resolved from the trigger's variables. The value is a URL fetched per recipient — e.g.{{invoice_url}}for a personalised invoice.
Per-send variable attachments
Configure the attachment as {{invoice_url}} on the template, then pass the resolved URL in each trigger:
json
{
"to": "ada@example.com",
"variables": {
"name": "Ada",
"invoice_url": "https://files.example.com/inv/1024.pdf"
}
}Size caps
- 10 MB per file.
- 18 MB per message (total across all attachments).
Exceeding the caps
A send whose attachments exceed these limits fails. For large files, link to them in the body (or attach a small file and link the rest) instead of attaching the whole payload.
