Made an open-source CLI + Cursor Skill that sets up email → Telegram forwarding via Cloudflare Workers.
The problem: You have a domain and want to receive emails in Telegram — including attachments, password-protected archives, everything up to 50 MB. Gmail blocks some of these. Cloudflare Email Workers don’t.
How it works with Cursor: The repo includes a .cursor/skills/mail2tg/SKILL.md — just clone/open the project and the agent knows how to do everything. Or tell your agent:
npx mail2tg init
npx mail2tg plan
npx mail2tg apply
npx mail2tg doctor
One-shot: run once, everything is configured on Cloudflare, nothing to keep running. Free tier covers 100K emails/day.
Also includes CLAUDE.md for Claude Code users and --json --non-interactive flags for any agent environment.
-
Cursor Skill:
.cursor/skills/mail2tg/SKILL.mdin the repo