Send Obsidian Notes via Gmail Automatically with n8n [2026 Guide]

Automate sending your Obsidian notes as emails using n8n. Set up triggers based on tags, folders, or schedules — full workflow with examples.
gmail
webhook
if
+8
Workflow Identifier: 1727
NODES in Use: stickyNote, if, splitOut, splitInBatches, convertToFile, aggregate, gmail, dateTime, respondToWebhook, set, webhook
Send Obsidian notes via Gmail with n8n

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

Learn how to Build this Workflow with AI:

1. What This Workflow Does

This workflow sends Obsidian notes as emails automatically using Gmail. It reads email details from the note’s YAML frontmatter and sends attachments too. This saves time copying, pasting, and attaching files manually.

When triggered, it receives the note from Obsidian via webhook, extracts email metadata like recipient and subject, checks for attachments, then sends the email with or without files. Finally, it confirms email sending back to Obsidian with a timestamp.


2. Who Should Use This Workflow

This workflow is for people who write notes in Obsidian and need to email them fast. It fits users who want to avoid manual email composing. If email content lives in markdown with YAML metadata, this tool helps a lot.

It is useful for consultants, teams sharing reports, or anyone emailing detailed notes with attachments from Obsidian. It reduces mistakes and speeds delivery.


3. Tools and Services Used

Using self-host n8n is recommended for hosting n8n workflows with stable endpoints.


4. Beginner Step-by-Step: How To Use This Workflow In n8n

Importing The Workflow

  1. Download the workflow file from this page.
  2. Inside the n8n editor, select “Import from File” and upload the downloaded workflow.

Configuring The Workflow

  1. Open the imported workflow.
  2. Set up required credentials, such as the Gmail OAuth2 credentials, in n8n credentials manager.
  3. Update any preset emails, folder IDs, or channel details if the workflow uses them. Use the YAML frontmatter in your notes for email metadata.

Testing and Activating

  1. Run the workflow once to verify everything works as expected.
  2. Fix any errors from the run logs if needed.
  3. Activate the workflow to let it run automatically when triggered from Obsidian.

Now the workflow will handle incoming webhook calls and send emails with attachments as specified.


5. Inputs, Processing, and Outputs Explained

Inputs

  • Obsidian sends note via a webhook POST request.
  • Note content includes markdown text and YAML frontmatter with email fields (to, cc, subject, etc.).
  • Attachments come encoded as base64 strings in the payload.

Processing Steps

  1. Webhook node receives the request and holds connection for response.
  2. IF node checks if attachments exist.
  3. If attachments: split and clean base64 data, convert to binary files using Set and ConvertToFile nodes.
  4. Attachments are grouped back into one set.
  5. Email data from YAML frontmatter is extracted.
  6. Gmail node sends message with or without attachments.
  7. DateTime node captures current timestamp after sending email.
  8. RespondToWebhook node sends confirmation message back to Obsidian.

Output

  • Email arrives at specified recipients with proper subject, body, and attachments.
  • Obsidian note receives confirmation with send date and time appended.

6. Edge Cases and Failure Handling

  • Workflow skips attachments if none found, sending email without them.
  • If a test flag is set in YAML (test: true), email sending is blocked.
  • OAuth2 failures cause email errors—reconnect credentials if seen.
  • Base64 prefix must be correctly stripped; otherwise files get corrupted.
  • If RespondToWebhook node is misconfigured, Obsidian can hang waiting for response.

Monitoring recent executions in n8n helps spotting such issues early.


7. Customization Ideas

  • Change sender-name in YAML to modify email sender display.
  • Use send-replies-to YAML field to add custom reply-to addresses.
  • Customize subject per note via YAML frontmatter.
  • Add image resizing or format conversion nodes after attachment processing for different file types.
  • Use the IF node to filter test emails based on YAML boolean flag to avoid unwanted sends.

8. Summary

✓ Saves time by automating email creation from Obsidian notes.
✓ Reduces errors in including attachments.
✓ Sends secure Gmail emails with OAuth2.
✓ Confirms sending inside Obsidian to keep user informed.
→ Emails include metadata like To, CC, BCC, Subject, and Reply-To from YAML.
→ Easily handle notes with or without attachments without manual changes.


Send Obsidian notes via Gmail with n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Email details like To, CC, and Subject come from the YAML frontmatter in the note sent by Obsidian via webhook.
The workflow detects missing attachments and sends the email without files automatically.
Reauthorize the Gmail OAuth2 credentials in n8n credentials manager and reconnect them to Gmail nodes.
Yes, but Gmail nodes need replacing with nodes matching the other email provider and credentials updated accordingly.

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.