Skip to content

mail2telegram

Active
tbxark/mail2telegram

A Telegram bot on Cloudflare Workers that receives email via Email Routing: instant push notifications, a Mini App inbox and AI summaries.

View on GitHub
Stars
908
Forks
145
Watchers
908
Open issues
2

Overview

mail2telegram is a Telegram bot for receiving email that runs entirely on Cloudflare Workers. Mail arrives through Cloudflare Email Routing, every message is pushed to your chat, and the full history lives in a Telegram Mini App.

How it works

  • Push notifications with quick actions per email: Preview, Summary and Open
  • Mini App inbox — per-folder history, sandboxed HTML rendering, attachment downloads, and replying or composing through Resend
  • Settings in the Mini App — allow/block lists with regex, an address tester, block policy, forwarding, AI summary options and limits
  • AI summaries with Workers AI or any OpenAI-compatible provider

All behaviour is configured in the Mini App and stored in D1; the Worker itself only needs a few variables for its Telegram identity and optional API keys.

Similar open-source projects, ranked by shared categories and tags.

All Tools projects →