---
title: "Everything you ever wanted to know about Gmail draft inline images and Google Apps Script but were afraid to ask"
author: "Martin Hawksey"
date: 2021-02-18T12:58:00+00:00
modified: 2021-02-17T12:59:24+00:00
canonical_url: https://pulse.appsscript.info/p/2021/02/everything-you-ever-wanted-to-know-about-gmail-draft-inline-images-and-google-apps-script-but-were-afraid-to-ask/
markdown_url: https://pulse.appsscript.info/p/2021/02/everything-you-ever-wanted-to-know-about-gmail-draft-inline-images-and-google-apps-script-but-were-afraid-to-ask.md
categories:
  - "Advanced"
  - "Gmail"
  - "Solutions"
  - "V8"
tags:
  - "hawksey.info"
featured_image: https://pulse.appsscript.info/files/2021/02/image-order.png
description: "A common workflow solution in Google Apps Script is to use a Gmail draft message as a template for sending emails. For the user the benefit is they can draft a message in a familiar environment adding formatting without having to worry about writing HTML. A problem often encountered is the inclusion of inline images. This post looks at solving the issue of missing inline images."
---

# Everything you ever wanted to know about Gmail draft inline images and Google Apps Script but were afraid to ask

![Everything you ever wanted to know about Gmail draft inline images and Google Apps Script but were afraid to ask](https://pulse.appsscript.info/files/2021/02/image-order.png)

> A common workflow solution in Google Apps Script is to use a Gmail draft message as a template for sending emails. For the user the benefit is they can draft a message in a familiar environment adding formatting without having to worry about writing HTML. A problem often encountered is the inclusion of inline images. This post looks at solving the issue of missing inline images.

Source: [Everything you ever wanted to know about Gmail draft inline images and Google Apps Script but were afraid to ask – MASHe**](https://mashe.hawksey.info/2021/02/everything-you-ever-wanted-to-know-about-gmail-draft-inline-images-and-google-apps-script-but-were-afraid-to-ask/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2021/02/everything-you-ever-wanted-to-know-about-gmail-draft-inline-images-and-google-apps-script-but-were-afraid-to-ask/](https://pulse.appsscript.info/p/2021/02/everything-you-ever-wanted-to-know-about-gmail-draft-inline-images-and-google-apps-script-but-were-afraid-to-ask/)*
