# Attachments

### How to send an attachment with Mail Merge for Gmail <a href="#h.iztay2rlnphv_l" id="h.iztay2rlnphv_l"></a>

There are some limitations to this feature:

* The attachment has to be present in your (or in a public) Google Drive
* Attachment size should be under 5 Mb

### Attachment process <a href="#h.rp1fefblxvjo_l" id="h.rp1fefblxvjo_l"></a>

Here are the steps to follow :&#x20;

<figure><img src="https://3759601264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBoQpQrzJViUHu4Cv5ai%2Fuploads%2FlilLYUQd7ELMXvyYrtze%2Fattachment.png?alt=media&#x26;token=5aa05fbb-3608-4396-a27d-31ea87981114" alt="Attachment button in Mail Merge for Gmail"><figcaption><p>Add an attachment with Mail Merge for Gmail</p></figcaption></figure>

1. If your attachment is not yet in your Google drive, follow the optional step [described below.](#h.rp1fefblxvjo_l-2)
2. Expand options with the button "more options" from the add-on, then click on the Google Drive™ icon.
3. Select the document, image, archive... you want to add in the popup and click on "Select".&#x20;

### &#x20;<a href="#h.rp1fefblxvjo_l" id="h.rp1fefblxvjo_l"></a>

### Optional : Add the attachment to your Google Drive (optional) <a href="#h.rp1fefblxvjo_l" id="h.rp1fefblxvjo_l"></a>

If not done yet, here is how to add a file to Google Drive :

1. From [Google Drive](https://drive.google.com/drive/my-drive), locate and select the **New** button, then select **File upload**.
2. Locate and **select the** **file(s)** you want to upload on your computer, then click **Open**.
3. The File is now visible in your **Google Drive**.
4. Don't close Google Drive right now, we will need it in the next step !

![In Google drive, click on "New" to upload your future attachment file](https://3759601264-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBoQpQrzJViUHu4Cv5ai%2Fuploads%2FxuSy9N8Vzzn75DKLrrWR%2Fdrive%20upload.png?alt=media\&token=665fef28-47ac-44dd-98a3-50e44b819a01)

{% hint style="info" %}
We have a nice blog post about [how to send document securely with emails available here](https://merge.email/gmail-knowledge/how-to-send-documents-securely-via-email)
{% endhint %}

### Attachment issues: <a href="#h.e0w4cxplbpwm_l" id="h.e0w4cxplbpwm_l"></a>

Here are the most common errors encountered with attachments:

**1- Message "Attachment Error, Limit Exceeded: Email Total Attachments Size should not exceed 5Mb":**

There is a limit on the size you are allowed to send with Gmail (It's a limitation decided by Google), we can't do anything about that.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.merge.email/support/attachments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
