How to Create an Email Template in Gmail
Turn templates on under Settings > See all settings > Advanced > Templates > Enable, then write a message and choose More options > Templates > Save draft as template > Save as new template; insert it from More options > Templates in any new message. Templates work only in Gmail on a computer.
No signup · Five clients free, Outlook Classic included · All 21 with an account
The checker needs a computer screen.
A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →
Philippe Kam, founder of Emailens · Published 13 Nov 2026
@emailens/engine 0.18.22 · data last changed 10 Nov 2026
Part of the HTML email guide · all guides
An email template in Gmail is a saved message you insert instead of typing the same text again. Templates are off by default and only work in Gmail on a computer. A filter can also send one as an automatic reply. Here is how to turn them on, create, insert, change and delete them, and what to do if your template is an HTML email.
Turn on templates in Gmail
- In Gmail on a computer, select Settings (the gear) > See all settings.
- Open the Advanced tab and select Enable next to Templates.
- Scroll down and select Save Changes.
Google says templates can only be turned on and used from a computer, so the Gmail app for Android and iPhone has no Templates menu. Steps below were checked against Gmail Help in November 2026.
How to create an email template in Gmail
- Select Compose and write the text you want to reuse.
- In the compose window, select More options (the three dots) > Templates > Save draft as template > Save as new template.
- Name the template and select Save.
To change one, write the new version in a compose window, then choose Save draft as template, pick the template under Overwrite Template and select Save. To delete one, choose Templates > Delete template; Google warns a deleted template can't be recovered.
Insert a template into an email
Open Compose, select More options > Templates, and pick the template under Insert template. It drops into the message where you can edit it before sending. The saved template changes only when you overwrite it.
In our test it went in at the cursor, after any text already there, and it worked the same in a reply, where it lands above the quoted message and the subject stays "Re: …". In a new message with an empty subject, Gmail fills the subject with the template's name, not the subject you saved it with, so name templates the way you want the subject to read. A subject you typed first is left alone.
Send a template as an automatic reply
A filter can answer matching emails with a template, with no one at the keyboard:
- Select Show search options in the search box and enter what to match: a sender, a subject, words.
- Select Create filter, tick Send template and pick the template.
- Select Create filter again.
Test the search first: a broad one replies to far more mail than you meant. In our test the reply went out 15 seconds after the message arrived, with no Gmail tab open, from your address with +canned.response added (you+canned.response@gmail.com) and the subject "Re: " plus the original. It was addressed to the message's envelope sender (its Return-Path), not the From address. For mail sent through an email service, that is a bounce address nobody reads, so a template auto-reply suits mail from people, not from newsletters or apps.
Templates or layouts?
| Feature | Saves | Who has it |
|---|---|---|
| Templates | Saved text and formatting you insert into a message | Every Gmail account, on a computer |
| Layouts | Branded designs built from tiles: logo, colours, fonts, footer, buttons | Some Google Workspace editions and Workspace Individual |
Layouts sit under Layouts at the bottom of the compose window (or under More options) on the Workspace editions that have them. You set a default style once (logo, colours, fonts, footer) and pick a design per email. Google caps each layout at 10,000 characters, 40 images and 50 tiles, with images totalling 25 MB. Once a layout is in a draft you change it with Edit rather than by typing in the message, and layouts are saved in Google Drive, where you can share them. Google also warns that Outlook, which renders with Word, may show a layout differently, so preview it before a large send. For text you resend, use a template; for a branded newsletter-style email from your own inbox, use a layout.
What a Gmail template keeps
Google's help page doesn't say, so we tested it on 2026-11-12 in Gmail on the web: a draft with a subject, a recipient, a text attachment and styled HTML, saved as a template, then inserted into a new message.
| In the draft | After inserting |
|---|---|
| Body text, inline colour and font | Kept |
| Subject line | Replaced by the template name (if the subject was empty) |
| Recipients | Not kept |
| Attachment | Not kept |
| <style> block and class names | Removed |
| Inline background colours | Removed |
| role="presentation" on tables | Removed |
| Inline padding and border-radius | Kept |
Link to files in Google Drive with Add as link instead of attaching them. Google publishes no limit on the number of templates; the 50 quoted by some guides is not on Google's templates page and matches the 50-tile cap on layouts.
Using an HTML email template in Gmail
Gmail has no HTML source view, so pasting code into a template saves the code as text. The two methods that work, pasting the page rendered in a browser or replacing the compose body in the developer tools, are in how to send an HTML email from Gmail. Once the rendered email is in the compose window, save it as a template as above.
The styles were stripped by the compose window as soon as the HTML was loaded into it, before anything was saved: the template keeps what the editor shows. In our test that meant no style block and no background colours, so a coloured button became white text on nothing. One more catch: the link in our saved draft came back pointing at a google.com redirect instead of our address, so open a link in the inserted template before you rely on it. Gmail's HTML and CSS support lists what Gmail keeps in received mail. Keep the HTML under Gmail's 102 KB clipping limit, and send yourself a test before anyone else. To skip the build, start from one of our free HTML email templates, already checked in Gmail. Keep the source in your own editor: a Gmail template is a way to resend a finished email, not where the design lives.
Questions
Why can't I find templates in Gmail?
They are off until you turn them on: Settings > See all settings > Advanced > Templates > Enable, then Save Changes. Google says templates can only be turned on and used in Gmail on a computer, so they don't appear in the Gmail app for Android or iPhone.
Can I use Gmail templates on my phone?
No. Google's help page says you can only turn on and use templates from Gmail on a computer. On a phone, the closest option is a saved draft you copy from, or a filter set up on a computer that sends a template automatically.
Do Gmail templates keep attachments?
No. We saved a draft with a file attached as a template, and the inserted template came back without it; Ablebits reports the same for a Drive file added as an attachment. Insert the file from Drive with Add as link instead: a link is text and stays.
Can a Gmail template include the recipient's name?
Not on its own: Gmail templates have no merge fields, so you type the name after inserting. To personalise one email to many people, Google Workspace has mail merge in Gmail, and add-ons such as GMass do the same for any account.
How many templates can I save in Gmail?
Google publishes no limit on the number or size of templates. The 50 that some guides quote is not on Google's templates page; the limits Google does publish (10,000 characters, 40 images, 50 tiles) belong to email layouts, a different feature.
Your next question
Also useful: CSS Inliner · Gmail Clipping & Size Checker · Gmail CSS support
Paste the email that broke.
No signup · Five clients free, Outlook Classic included · All 21 with an account
The checker needs a computer screen.
Get new email CSS fixes by email, or follow by RSS.