Automate Email Drafting and Sending with Microsoft Outlook in n8n

This n8n workflow helps automate creating, attaching files, and sending email drafts using Microsoft Outlook, saving you hours spent on manual email preparation and avoiding attachment errors.
microsoftOutlook
manualTrigger
httpRequest
Workflow Identifier: 1464
NODES in Use: Manual Trigger, Microsoft Outlook, HTTP Request
Automate email drafting with n8n and Outlook

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does ⚙️

This workflow creates an email draft in Microsoft Outlook with HTML format.

It downloads an image from the internet and adds it as an attachment to the draft.

Then, it sends this email draft automatically to chosen recipients.

It links the nodes so data flows step-by-step without errors.

This saves time and stops common mistakes like forgetting attachments or wrong recipients.


Tools and Services Used

  • Microsoft Outlook: For creating, attaching files, and sending emails.
  • HTTP Request node: Downloads files from the web.
  • Manual Trigger node: Starts the workflow manually for testing or running.
  • n8n platform: Builds and runs the automation workflow.

Input, Process, and Output

Inputs

  • Email subject and HTML body content set in the Outlook draft node.
  • Attachment file URL entered in the HTTP Request node.
  • Recipient email addresses for sending the email.

Processing Steps

  • Create a draft email with formatted HTML body.
  • Download image file from the specified URL.
  • Attach the downloaded file to the draft email by referencing its ID.
  • Send the draft email to the listed recipients.

Output

  • An email sent from the Outlook account with proper attachments and formatted content.

Beginner step-by-step: How to Use This Workflow in n8n for Production ✏️

Importing the Workflow

  1. Inside the n8n editor, click the Download button on this page to get the workflow file.
  2. Use the Import from File option in n8n to upload the downloaded workflow.

Configuring Credentials and Settings

  1. Go to each Microsoft Outlook node and add your Outlook account with OAuth2 credentials.
  2. Check the HTTP Request node and adjust the URL if you want a different attachment.
  3. Update recipient emails in the sending node as needed, using commas for multiple addresses.

Testing and Activation

  1. Run the workflow manually by clicking Execute to see it work and check for errors.
  2. Once confirmed, activate the workflow to run on demand or replace the trigger with a schedule for automation.
  3. If using self-host n8n, monitor logs to ensure smooth operation.

Customizations ✏️

  • Change the HTML in the first Outlook node to use your own message style.
  • Change the HTTP Request URL to get other files, like PDFs or documents.
  • Put many emails separated by commas in the recipient field to send to groups.
  • Use a Schedule Trigger instead of Manual Trigger to automate the workflow at set times.
  • Make the attachment name dynamic by linking it to the downloaded file’s name.

Troubleshooting 🔧

Problem: Email not sending, error: “Invalid recipient address”

Cause: Recipient email format is wrong or missing.

Solution: Check the emails in the sending node, use commas for multiple emails.

Problem: Attachment not added to draft

Cause: Wrong messageId reference or file data not correct.

Solution: Make sure the expression {{$node[“Microsoft Outlook”].json[“id”]}} points right and HTTP Request outputs a file.

Problem: Workflow stops unexpectedly

Cause: Expired or missing OAuth2 token or permissions.

Solution: Reauthorize the Outlook account in n8n with needed permissions.


Pre-Production Checklist ✅

  • Check Microsoft Outlook OAuth2 credentials are working well.
  • Test if the HTTP Request URL is accessible and returns a file.
  • Confirm draft email appears after running the first Microsoft Outlook node.
  • See if the attachment is correctly added before sending.
  • Send a test email to your own inbox first to verify everything.

Deployment Guide

Turn on the workflow by clicking Activate in n8n.

Run it by manual trigger or swap trigger to schedule for automatic runs.

Watch execution logs in n8n for errors or success messages.


Summary

✓ Saves hours by automating email drafting, attaching and sending.

✓ Stops mistakes like missing attachments or wrong recipients.

→ Sends formatted emails with correct files to designated people.

→ Allows easy customization of content, attachment, and schedule.


Automate email drafting with n8n and Outlook

Visit through Desktop to Interact with the Workflow.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.