Skip to content

Add Cloudflare Email to Telegram cursorrules#197

Open
shatzibitten wants to merge 1 commit intoPatrickJS:mainfrom
shatzibitten:add-cloudflare-email-telegram
Open

Add Cloudflare Email to Telegram cursorrules#197
shatzibitten wants to merge 1 commit intoPatrickJS:mainfrom
shatzibitten:add-cloudflare-email-telegram

Conversation

@shatzibitten
Copy link

@shatzibitten shatzibitten commented Mar 16, 2026

Summary

  • Adds cursor rules for setting up email-to-Telegram forwarding via Cloudflare Email Routing and Workers using the mail2tg CLI.
  • Placed in Hosting and Deployments category (alongside Netlify).

What the rules do

Guide the AI agent through the full setup workflow:

  1. Deploy a Cloudflare Worker that parses incoming emails and forwards them (with attachments up to 50 MB) to Telegram.
  2. Create MX + SPF DNS records.
  3. Configure Email Routing rules.
  4. Set Worker secrets.

After setup, everything runs serverlessly on Cloudflare's free tier — no local service needed.

Files added

  • rules/cloudflare-email-telegram-cursorrules-prompt-file/.cursorrules — the rules file
  • rules/cloudflare-email-telegram-cursorrules-prompt-file/README.md — credits and description
  • Updated main README.md with link in Hosting and Deployments section

Made with Cursor

Summary by CodeRabbit

  • New Features

    • Added Cloudflare Email to Telegram email forwarding capability to supported solutions.
  • Documentation

    • Added comprehensive configuration guides for email-to-Telegram forwarding via Cloudflare Email Routing and Workers.
    • Removed Netlify from the Hosting and Deployments reference list.

Add cursor rules for setting up email-to-Telegram forwarding via
Cloudflare Email Routing and Workers using the mail2tg CLI
(https://github.com/shatzibitten/mail2tg).

Guides the AI through the full setup: deploy Worker, create DNS records,
configure Email Routing, and set secrets. Everything runs serverlessly
on Cloudflare's free tier after setup.

Made-with: Cursor
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8384691b-2289-48d6-93cc-f51a302ae918

📥 Commits

Reviewing files that changed from the base of the PR and between fc2ce04 and a9420a8.

📒 Files selected for processing (3)
  • README.md
  • rules/cloudflare-email-telegram-cursorrules-prompt-file/.cursorrules
  • rules/cloudflare-email-telegram-cursorrules-prompt-file/README.md

📝 Walkthrough

Walkthrough

This PR introduces a new Cloudflare Email to Telegram integration rule set with accompanying documentation. The main README is updated to remove Netlify and add the new Cloudflare Email to Telegram item under Hosting and Deployments. Two new documentation files are added to configure email-to-Telegram forwarding via Cloudflare Email Routing and the mail2tg CLI.

Changes

Cohort / File(s) Summary
Main README Update
README.md
Removed Netlify entry from Hosting and Deployments section; added new "Cloudflare Email to Telegram" integration entry.
Cloudflare Email to Telegram Rule Set
rules/cloudflare-email-telegram-cursorrules-prompt-file/.cursorrules, rules/cloudflare-email-telegram-cursorrules-prompt-file/README.md
Added new cursor rules prompt file defining workflows, prerequisites, and commands for setting up Cloudflare Email Routing to Telegram forwarding via mail2tg CLI. Included accompanying README documenting the purpose and workflow.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • PatrickJS

Poem

🐰 A tunnel for mail through the Cloudflare gates,
To Telegram's embrace, no longer it waits!
With mail2tg's spell and cursor's soft guide,
Emails now flutter where bunnies confide! ✉️📬

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a new Cloudflare Email to Telegram cursorrules resource, which is the primary purpose of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can suggest fixes for GitHub Check annotations.

Configure the reviews.tools.github-checks setting to adjust the time to wait for GitHub Checks to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant