AcademyWorkflowsProductivity

Chat with your email history via Telegram

Operations or administration teams that search older correspondence by asking questions, using locally hosted models.

  • Recommendedour rating
  • 2,768views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

chat-with-your-email-history-using-telegram-mistral-and-pgvector-for-rag.json

Loading the file...

What it does

An n8n workflow that answers questions about your past emails through a Telegram bot. It combines structured SQL searches with semantic search over embeddings stored in pgvector on PostgreSQL. It runs on locally hosted open source models, with Ollama as the language model and nomic-embed-text for the embeddings.

Use cases

  1. 01Find a hotel booking in an old email thread
  2. 02Look up dates or figures mentioned in past messages
  3. 03Ask a Telegram bot about past correspondence

Connects

Telegram · Code · AI Agent · OpenAI Chat Model · Simple Memory · Call n8n Workflow Tool · Embeddings Ollama · Postgres PGVector Store

Questions about
Chat with your email history via Telegram.

What is Chat with your email history via Telegram used for?

Operations or administration teams that search older correspondence by asking questions, using locally hosted models. An n8n workflow that answers questions about your past emails through a Telegram bot. It combines structured SQL searches with semantic search over embeddings stored in pgvector on PostgreSQL. It runs on locally hosted open source models, with Ollama as the language model and nomic-embed-text for the embeddings.

How do I import Chat with your email history via Telegram into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Chat with your email history via Telegram safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.