See llms.txt for all machine-readable content.

Gmail and RabbitMQ integration

Save yourself the work of writing custom integrations for Gmail and RabbitMQ and use n8n instead. Build adaptable and scalable Communication, HITL, workflows that work with your technology stack. All within a building experience you will love.

How to connect Gmail and RabbitMQ

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Gmail and RabbitMQ integration: Create a new workflow and add the first step

Route client onboarding webhook events through RabbitMQ to Gmail alerts

Publish Subscribe Example - Webhook to RabbitMQ, RabbitMQ to GMAIL How it works This workflow demonstrates a resilient publish/subscribe automation pattern using n8n, RabbitMQ, JSON Schema validation, and Gmail. It contains two flows in the same workflow: A publisher flow receives client onboarding JSON through a webhook. The payload is validated against a JSON Schema. If valid, the workflow publishes the event to RabbitMQ. A subscriber flow listens to the RabbitMQ queue. The subscriber validates the received event again. If the message is valid, it prepares and sends a Gmail notification. Invalid messages and processing failures are routed to a dead-letter/error queue. This template is useful for client onboarding, accounting intake, document processing, form submissions, internal notifications, and event-driven workflow automation. Set up steps Create or connect a RabbitMQ instance. Create the following RabbitMQ resources: Exchange: client.onboarding.exchange Exchange type: topic Main queue: client.onboarding.queue Routing key: client.onboarding.received Dead letter/error queue: client.onboarding.dlq In n8n, configure your RabbitMQ credentials. Replace the RabbitMQ credential placeholder with your own RabbitMQ credential. Replace the JSON Schema Validator placeholder nodes with your preferred JSON Schema validation node or validation service. Configure the Gmail credential. Replace the Gmail placeholder node with the Gmail Send Email node. Update the recipient email address in the “Prepare Gmail Email” node. Test the publisher webhook with a sample client onboarding JSON payload. Confirm the message is published to RabbitMQ and then consumed by the subscriber flow. Confirm Gmail receives the formatted notification email. Required credentials RabbitMQ credentials Gmail OAuth2 credentials Optional JSON Schema validator community node or external validation service Example input JSON { "clientId": "C1001", "clientName": "John Smith", "email": "[email protected]", "serviceType": "Individual Tax Return", "taxYear": 2025, "documents": [ { "documentType": "Photo ID", "fileName": "john-smith-passport.pdf" }, { "documentType": "PAYG Summary", "fileName": "john-smith-payg-summary.pdf" } ] } Resilience and Error Handling This template includes: Validation before publish Validation after subscribe Correlation ID Schema version Dead-letter queue Email failure branch Invalid message branch RabbitMQ publish failure branch Invalid or failed messages are routed to client.onboarding.dlq.

Popular ways to use the Gmail and RabbitMQ integration

Build your own Gmail and RabbitMQ integration

Create custom Gmail and RabbitMQ workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Gmail supported actions

RabbitMQ supported modes

Queue

Publish data to queue

Exchange

Publish data to exchange

Send a Message to RabbitMQ
Delete From Queue
Send a Message to RabbitMQ
Delete From Queue

Gmail and RabbitMQ integration details

Gmail

Gmail

Gmail is a free of charge email service offered as part of Google Workspace. It is used by individuals and organizations to send and receive emails and communicate internally and externally. It remains the world’s most widely used email service.

RabbitMQ

RabbitMQ

RabbitMQ is an open-source message broker software that implements the Advanced Message Queuing Protocol. It is generally used to handle background and cron jobs or as a message broker between micro services.

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQ about Gmail integrations

Need help setting up your Gmail and RabbitMQ integration?

Discover our latest community's recommendations and join the discussions about Gmail and RabbitMQ integration.

  • jake chard

    How do I remove n8n Email footer in Gmail node send message?

    jake chard

    Each email sent has “This email was sent automatically with n8n” in the footer or after the email. How do I remove this please?

    Open topic
  • Jan Koch

    Sending attachment via Gmail

    Jan Koch

    Describe the problem/error/question I am trying to send an email with an attachment using the Gmail node and get an error that I don’t understand. I am able to download that file from the original email and upload it to …

    Open topic
  • FawenYo

    Failed to send Gmail attachment

    FawenYo

    Describe the problem/error/question I’m trying to send an HTML file in the Gmail attachment, but it just raise an error. This question is similar to Sending attachment via Gmail , but I just couldn’t get it work …

    Open topic
  • Jean-Pierre GARNIER

    Gmail node subject text encoding issue

    Jean-Pierre GARNIER

    Describe the problem/error/question Hi, I’m facing an encoding problem while sending email with gmail node for every char with and accent (é,à,ô,î…). I noticed that this problem doesn’t occurs when i’m directly writing …

    Open topic
  • Anirudh Tugawe

    Update Google Sheets After sending Email

    Anirudh Tugawe

    Hi everyone, I’m working on a workflow where I’m using Google Sheets to get input data. I have a loop set up that correctly reads the data and processes it: it takes a Word document template, app…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Gmail with RabbitMQ

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship