Send Gmail messages with custom aliases and attachments via API
This n8n template allows you to send emails with a custom alias from your Gmail account Since the native Gmail node has some limitations regarding use of email aliases, this template allows you to set up your own internal endpoint/sub-workflow to send emails as an email alias . How it works This workflow uses a Code node and the Gmail API via an HTTP node to format the email content and send using an alias on your Gmail account. Setup instructions 1. You must have added the email address as an a
At a glance
Send Gmail messages with custom aliases and attachments via API is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Gmail
- Modules
- 6
- Price
- Free
- Version
- v1.0

About this workflow
This n8n template allows you to send emails with a custom alias from your Gmail account Since the native Gmail node has some limitations regarding use of email aliases, this template allows you to set up your own internal endpoint/sub-workflow to send emails as an email alias . How it works This workflow uses a Code node and the Gmail API via an HTTP node to format the email content and send using an alias on your Gmail account. Setup instructions 1. You must have added the email address as an alias you wish to send as in your Gmail account, guide on how to do so here. 2. You must have created a Gmail credential in N8N, guide on how to do so here. 3. Use your Gmail OAuth Credential in the HTTP node. 4. Use this template as an API endpoint or a sub-workflow, and send this payload to it via POST: Notes Only the following are required fields: - fromEmail - toEmail - subject - htmlBody Customizing this workflow You can easily convert this to a sub-workflow by swapping out the Webhook trigger for a "When executed by another workflow" trigger
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
SEO On-site Audit
Categorize and label existing Gmail emails automatically with GPT-4o mini
Automate Reddit trend analysis with GPT-4 and Slack/Gmail distribution
AI-powered email to Jira ticket creation with Llama 3.2
Generate animated human videos from images & audio with Bytedance Omni Human
Send AI interview briefs from resumes with GPT-4o-mini, Google Sheets and Gmail
Automated LinkedIn content creation with GPT-4 and DALL-E for scheduled posts
Find the best Airbnb deals automatically with Bright Data & n8n
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you