Templates / Send a message with an inline embedded image with Gmail

Send a message with an inline embedded image with Gmail

Ready for 3.0

by David Roberts ✓ · 4,019 views · created 2024-06-05 · Personal Productivity

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 6 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls thistleandrose.co.uk and googleapis.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Message settings (Edit Fields (Set)): sets 4 fields: from, to, subject…
  2. Get image (HTTP Request): calls thistleandrose.co.uk
  3. Convert image to base (Extract from File): extracts data from a file (binary to propery)
  4. Compose message (Edit Fields (Set)): sets 1 field: raw
  5. Send message (HTTP Request): calls googleapis.com (POST)

HTTP calls to: thistleandrose.co.uk, googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

The built-in Gmail node doesn't yet support embedding images within the body of the email, but you can pull this off using the HTTP node, and this template shows you how. Requirements - A Gmail account How it works The workflow downloads an image, converts it…

Excerpt from David Roberts's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.