Skip to main content

Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS

Workflow preview

Workflow preview
100%
Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who’s it for For makers, founders, and productivity nerds who want to listen to their inbox instead of reading it. No servers, no hosting — all done with n8n , a Telegram bot , and AI/ML API (LLM +...

Best for

  • Personal Productivity automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-aimlapi.aimlapi, n8n-nodes-base.datatable, n8n-nodes-base.telegram, n8n-nodes-base.gmailtrigger, n8n-nodes-base.code, n8n-nodes-base.telegramtrigger, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by AI/ML API | D1m7asis.

Original n8n.io source

1.1 Workflow description

Title
Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS
Workflow name
Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS

Who’s it for

For makers, founders, and productivity nerds who want to listen to their inbox instead of reading it. No servers, no hosting — all done with n8n, a Telegram bot, and AI/ML API (LLM + TTS).

What it does / How it works

This workflow listens for new Gmail emails, extracts the sender, subject, date, and snippet, generates a 2–3 sentence natural summary using GPT-5 via AI/ML API, then converts the text into a lifelike voice message using Inworld TTS-1-Max. The final audio file is downloaded and instantly delivered to your Telegram via a bot.

A separate auxiliary flow captures your Telegram chat_id once, stores it in a Data Table, and the main flow reuses it every time — no hardcoding required.

High-level flow:

  1. Gmail Trigger detects new incoming email
  2. Code node builds a clean emailData block
  3. AI/ML API (GPT-5) generates a natural spoken summary
  4. AI/ML API (Inworld TTS-1-Max) converts summary → voice
  5. Audio file is downloaded
  6. Voice message is sent to the same Telegram chat

Requirements

  • A working n8n instance (self-hosted or cloud)

  • Gmail OAuth2 credentials

  • Telegram bot token from @BotFather

  • AI/ML API key

    • Base URL: https://api.aimlapi.com/v1
    • Supports GPT-5 and Inworld TTS-1-Max

Set up steps

  • Create a Telegram bot via @BotFather and add Telegram API credentials in n8n
  • Create an AI/ML API credential using your API key
  • Add Gmail OAuth2 credentials for inbox access
  • Import the workflow JSON
  • Open nodes and attach the correct credentials (no hardcoded tokens inside nodes)
  • Run the Telegram Trigger once and send any message to your bot — this saves your chat_id
  • Activate your workflow and receive your first voice-summary

How to customize

  • Replace GPT-5 with another LLM from AI/ML API (same schema)
  • Change prompt style: tone, structure, language, or verbosity
  • Add language selection or multi-voice support
  • Add filters (e.g., only important emails, only starred emails)
  • Log all activity to Google Sheets or a database
  • Add IF conditions: voice only during certain hours, weekday vs weekend rules
  • Add rate-limits or user allowlists
  • Change the voice model for different notification styles: corporate, friendly, narrator

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Download Audio File

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 2 - Generate Summary with AI

Type / Role
n8n-nodes-aimlapi.aimlApi - aimlApi
Config choices
Version 1

Block 3 - Get Telegram Chat ID

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 4 - Save Chat ID to Database

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 5 - Convert Text to Speech

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Send Audio to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - When Email Received

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.3

Block 8 - Prepare Email Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - When Telegram Message Received

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 10 - Sticky Note — Chat ID Flow

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note — Step 1 Email

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note — Step 2 Summary

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note — Step 4 Get ID & Download

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS
Complexity intermediate
Nodes 14
Categories Personal Productivity, Multimodal AI
Author AI/ML API | D1m7asis
Published 01 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11397/11397.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Convert Gmail emails to Telegram voice messages with GPT-5 and Inworld TTS do?

Who’s it for For makers, founders, and productivity nerds who want to listen to their inbox instead of reading it. No servers, no hosting — all done with n8n , a Telegram bot , and AI/ML API (LLM +...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, Multimodal AI use case.