# Why is Gmail clipping emails?

## Why do emails get clipped in Gmail? <a href="#h_580005ca69" id="h_580005ca69"></a>

A clipped email is an email that is not fully displayed in your recipient's inbox. In Gmail, here is how a clipped email looks like.

<figure><img src="/files/Rdzb7K44ZJPKQHluNO7J" alt=""><figcaption></figcaption></figure>

Users may see "**\[Message clipped]** **View entire message**" at the bottom of their email, with a link to view the full version. This happens when an email's size exceeds 102KB.

Several factors contribute to email size:

### → Email html code weight <a href="#h_e35d4c487b" id="h_e35d4c487b"></a>

All content adds to the total weight, including:

* Text
* Links
* HTML code (including conditional display code)

{% hint style="warning" %}
Each character uses approximately 1-2KB.
{% endhint %}

### → Attached images <a href="#h_357fd159c3" id="h_357fd159c3"></a>

Images can be attached to your emails in two different ways:

* Enclosed images: Enclosed images are not stored in the template itself. Images are loaded remotely and only the path to the image is referenced in your email template (e.g. `<img src="https://path/to/img.png" alt="img"/>`). This is Batch's default behavior when you create a template from the email composer.
* Embedded images: You may also embed an image encoded in Base64 within your HTML template (e.g. `<img src="data:image/jpeg;base64,[base64code]" />`). Use this approach for small images only, as it adds considerable weight to your template: each Base64 digit represents 6 bits of data. For example, a single 156KB JPEG image will add more than 200K characters to your HTML template.

## Optimizing Your Emails <a href="#h_5928bfc6de" id="h_5928bfc6de"></a>

Batch automatically includes two tracking pixels in your emails:

* One at the top
* One at the bottom

This dual-pixel approach ensures open tracking even if the email is clipped.

## Best Practices <a href="#h_2ed35c852d" id="h_2ed35c852d"></a>

1. Move your unsubscribe link to the top of long emails to reduce spam complaints
2. Minimize email size by:
   * Reducing the number and length of links
   * Condensing text
   * Optimizing HTML code to use fewer characters


---

# 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://doc.batch.com/guides-and-best-practices/message/email/troubleshooting/why-is-gmail-clipping-emails.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.
