---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/sendgrid/ui/sending-email/attachments-with-digioh#article
headline: Sending Attachments with Digioh
description: Manage file size during email attachment with SendGrid's Marketing Email solution. Learn to use SMTP Relay or Web API v3 effectively.
url: https://www.twilio.com/docs/sendgrid/ui/sending-email/attachments-with-digioh
inLanguage: en
dateModified: 2026-07-21T11:17:13.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Sending Attachments with Digioh

You can send email attachments through Twilio SendGrid using the v3 Mail Send or v2 Mail Send endpoints, or distribute larger files up to 2GB through the Digioh integration. This page covers attachment size limits, best practices, and how to use Digioh.

## Limitations

### v3 Mail Send

The total message size of emails sent via the [v3 mail send endpoint](/docs/sendgrid/api-reference/mail-send/mail-send) is limited to 30MB. This includes all headers, the body, and attachments. The maximum attachment size depends on the size of the rest of your message, but we recommend that your attachments do not exceed 10MB.

### v2 Mail Send

The total message size of emails sent via the [v2 mail send endpoint](/docs/sendgrid/v2-api/mail) is limited to 20,480,000 bytes, or approximately
19.5MB. This includes all headers, the body, and attachments. We recommend that your attachments do not exceed 7MB.

> \[!NOTE]
>
> Keep in mind that the size of your file on disk or in memory may not be the same as the size of the file once it is attached, as files must be encoded as text to be sent. You can expect an increase in size of up to 30%.

## Best Practices

Attachments are in and of themselves potential risks when sending email.
Email filters are more likely to prevent delivery of a message that has an attachment
due to the risk of viruses.

A good alternative to attaching a file to your message is to place it on a page of your website,
and then provide a link to that web page within your message body.

## Using Digioh

SendGrid has partnered with Digioh, a digital download distribution service. This allows you to send
files up to 2GB in your SendGrid Marketing Emails. Digioh also allows you to track individual
downloads and prevent non-subscribers from downloading files.

Digioh is integrated with SendGrid's Marketing Email solution.

[Sign Up for a Free Digioh + SendGrid
Account](https://digioh.com/sendgrid)

## Sending email with attachments via SendGrid

To send emails with attachments via SendGrid, you can employ our [SMTP Relay](/docs/sendgrid/glossary/smtp-relay) or our [Web API v3](/docs/sendgrid/api-reference/mail-send/mail-send).
