Email Worker that sends you notifications on Telegram once emails are received.
wrangler.toml:TOKEN: Telegram bot token (get it from BotFather)src/index.js email addresses to their corresponding chatIds and forward email ids, and toForward status
const emailList = [
{ to: "example@gmail.com", chatId: 5071059420, fMailid: "example@example.com", toForward: false }, //only sends notification as its false
{ to: "example1@example.com", chatId: 5071059420, fMailid: "example3@example.com", toForward: true }, //sends & forward
{ to: "example2@example.com", chatId: 5071059420, fMailid: "example4@example.com", toForward: false },
];
Settings:CLOUDFLARE_TOKEN: Generate from cloudflare accountDeploy to Cloudflare WorkersactionOnce the app is running, it will listen for incoming messages on Telegram and automatically forward any received emails to the specified email address. Additionally, it will send a notification message to the specified Telegram chat with a link to the email content on Spacebin.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
$ claude mcp add Email-NotifyTG-Worker \
-- python -m otcore.mcp_server <graph>