All guides

Ship them

Gmail and Google Workspace

Use your designs in Gmail: save them as templates for emails you send yourself, or send them automatically with Zapier or Make. No code needed.

What you can do with Gmail

  • Send by hand: save a design as a Gmail template once, then reuse it for quotes, invoices, booking confirmations or follow-ups. Your logo, colors and buttons stay in place.
  • Send automatically: let Zapier or Make send the email from your Gmail when something happens, like a new order, a form entry or a booking.
  • From your own app (for developers): send it with code through Google Workspace.

All of this works with a free Gmail account and with Google Workspace (Gmail with your own domain, such as you@yourshop.com). Export, including Gmail, comes with the Launch Pack (one payment) and Pro.

Save it as a Gmail template

Do this once per design. Use Gmail on a computer: the Gmail phone app can't save or insert templates.

  1. 1Turn on templates in Gmail (only the first time): open Gmail, click the gear icon at the top right, then See all settings → Advanced. Next to Templates, choose Enable, then Save Changes at the bottom.
  2. 2Copy the design: in TemplatePort, open the email and choose Export → Gmail. Pick Placeholders like [user name] if you'll fill in names and details before each send, or Sample values to see a finished example. Click Copy for Gmail.
  3. 3Paste it into a new email: in Gmail, click Compose and paste into the message area (Ctrl+V, or Cmd+V on a Mac). Copy the subject line from the export into the Subject field.
  4. 4Save it: in the new message, click the three dots (⋮) at the bottom right, then Templates → Save draft as template → Save as new template, and give it a name you'll recognise.

Gmail keeps the layout, colors and images. It drops the styles for phones, so on a phone the email is shown smaller instead of rearranged. It still reads fine.

Use a saved template

  1. 1Click Compose, then ⋮ → Templates and pick your template. Gmail fills in the subject and the message.
  2. 2Add the recipient.
  3. 3Replace every [placeholder], such as [user name] or [invoice number], with the real details. Gmail's search (Ctrl+F) helps you find them.
  4. 4Check the buttons: a button that points to a placeholder link needs a real address. Click it once in your draft to check, then send.

Changed the design in TemplatePort? Copy it again, paste it into a new message, and choose ⋮ → Templates → Save draft as template, then pick the old template's name under Overwrite template.

Share templates with your team

Gmail templates belong to one account, so colleagues can't see yours. The easiest way to share: each person copies the design from TemplatePort and saves it in their own Gmail, using the steps above. Because the design comes from your brand kit, everyone's emails look the same.

Send it automatically with Zapier or Make

Zapier and Make connect your tools without code. They can send a TemplatePort design from your Gmail whenever something happens, for example a new order in your shop, a new entry in a form or a new booking.

  1. 1In TemplatePort, open the email and choose Export → Gmail → Copy HTML for Zapier or Make.
  2. 2In Zapier or Make, start with your trigger (the new order, form entry or booking), then add a Gmail step that sends an email, and connect your Gmail account.
  3. 3Fill in To (usually the customer's email from the trigger) and the Subject.
  4. 4Paste the copied email into the body. In Zapier, set Body Type to HTML first; Make reads HTML on its own.
  5. 5In the pasted email, replace each variable such as {{user_name}} or {{order_number}} with the matching field from your trigger. Leave the rest of the code as it is.
  6. 6Send yourself a test before switching it on.
  • Free Gmail sends up to about 500 emails a day, Google Workspace about 2,000. That's plenty for most small businesses.
  • Sending more, or want open and click statistics? Connect Brevo or another provider on the Providers page and push your templates there instead.

Sending from your app through Google Workspace

For developers. Under Export → Gmail → For developers there's Node.js code that sends the email with Nodemailer through Gmail's SMTP server, with the HTML and plain text built in. Create an app password in your Google account and set it as GMAIL_APP_PASSWORD, with your address as GMAIL_USER.

  • Google Workspace allows about 2,000 emails a day per user (500 during a trial), free Gmail about 500.
  • Your Workspace admin can set up the SMTP relay (smtp-relay.gmail.com) for more.
  • For sign-up, password and receipt emails at scale, Resend, Postmark, SendGrid or Brevo deliver more reliably and give you sending statistics.

Something unclear or missing? Email hello@templateport.app.