Send a Message with Inline Embedded Image Using Gmail

This workflow is designed to streamline the process of sending emails with embedded images using Gmail's API. It begins with a manual trigger that allows users to initiate the workflow with a single click. The workflow is particularly beneficial f...

n8n

This workflow is designed to streamline the process of sending emails with embedded images using Gmail's API. It begins with a manual trigger that allows users to initiate the workflow with a single click. The workflow is particularly beneficial for marketing professionals, social media managers, and anyone who needs to send visually appealing emails that include images directly within the email body.

The first step collects the necessary message settings, including the sender's email address, recipient's email address, subject line, and the HTML body of the message. This ensures that all essential components of the email are gathered before sending. The workflow then composes the email message by dynamically constructing its content with appropriate MIME types and boundaries to facilitate the inline display of images.

Once the message is composed, the workflow retrieves the desired image from a specified URL. This image is then encoded in base64 format and included in the email body, allowing it to be displayed directly in the email without requiring the recipient to download it separately. This feature enhances the visual appeal of the email and improves user engagement.

Finally, the email is sent using a POST request to Gmail's API, leveraging OAuth 2.0 for authentication. This workflow simplifies the technical complexities of email composition, making it accessible for users without programming skills. By automating this process, users can save time and ensure consistency in their email communications.

$6.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Language Tools workflows

More from Tomas Fahmy

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.