Send Email with Embedded Image
detail.loadingPreview
Sends an email with an image embedded in the HTML body.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow demonstrates how to send an email that includes an image directly within the HTML content. It fetches an image from a URL, converts it to base64, and then constructs an email using the Gmail API to embed the image using its Content-ID.
Key Features
- Fetches an image from a specified URL.
- Converts binary image data to a base64 encoded string.
- Constructs a multipart email with HTML content and an embedded image.
- Sends the email using the Gmail API via an HTTP Request node.
How To Use
- Import this workflow into your n8n instance.
- Configure the Gmail OAuth2 credentials in the 'Send message' node.
- Update the 'Message settings' node with your desired sender, recipient, subject, and HTML body.
- Ensure the
WEBHOOK_URLenvironment variable in the 'Get image' node points to the image you want to embed. - Click 'Test workflow' to send the email.
Apps Used
Workflow JSON
{
"id": "65f06e2c-c068-419e-b799-9e2d2b995413",
"name": "Send Email with Embedded Image",
"nodes": 0,
"category": "Email Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 65f06e2c-c068...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Gmail Label Manager
Automate Gmail label management for emails.
Community Email Summary Agent
Automates fetching, summarizing, and distributing daily emails.
Gmail Email Labeler
Automatically categorize incoming emails based on existing Gmail labels or create new ones.
AI Powered Gmail Labeling
Automatically label incoming Gmail messages using AI based on their content.
Lemlist Reply Automation
Automates responses to Lemlist email replies based on content.
Community Contributed Gmail Labeler
Automate Gmail email categorization by leveraging AI to read and create labels.