Skip to content

A Rust-based bot that monitors your Gmail inbox for important emails and posts them to a Discord channel via a webhook. Built using OAuth2, Tokio, Warp, and Reqwest for secure and asynchronous email monitoring.

Notifications You must be signed in to change notification settings

swarnabese12/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📬 Gmail to Discord Bot (Rust)

A Rust-based bot that monitors your Gmail inbox and automatically posts important emails to a Discord channel via a webhook. Designed with async capabilities using tokio, OAuth2 authentication, and secret-safe handling with .env configuration.

✨ Features

  • 🔒 Secure OAuth2-based Gmail access
  • 🔔 Auto-detect and notify important emails in real-time
  • 📎 Filters emails based on sensitive keywords (e.g., payment, verification)
  • 📤 Sends formatted email alerts directly to a Discord webhook
  • ⚙️ Built with tokio, reqwest, warp, and dotenvy

🛠️ Environment Setup (.env)

About

A Rust-based bot that monitors your Gmail inbox for important emails and posts them to a Discord channel via a webhook. Built using OAuth2, Tokio, Warp, and Reqwest for secure and asynchronous email monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages