BLOGS
Send Email Attachments without Storing Files
Send email attachments directly via base64 content without hosting files elsewhere. Perfect for dynamic content and temporary files.
Previously, sending email attachments required hosting files at a URL. This worked well for static files, but created friction for dynamic content like PDFs (invoices, reports, tickets), requiring temporary storage infrastructure and cleanup overhead.
We’re adding a simpler way to attach files to your emails: pass base64-encoded content directly in your send request. You no longer need to host transient or dynamically generated files elsewhere — just include them as base64-encoded content directly in your send request. This feature also works seamlessly alongside existing URL-based attachments.
How It Works
For full details and implementation examples of sending email attachments via base64 content, please see our documentation: