This is a Rust-based tool that monitors an IMAP mailbox and sends notifications to a Discord user using the Serenity framework.
- Lists available mailboxes on startup.
- Periodically checks the IMAP server for new messages.
- Sends notifications via Discord Direct Message.
- Create
config.tomlwith your IMAP and Discord configuration. - See
config.example.tomlfor a template.
- Build the project:
cargo build --release
- Run the executable:
cargo run --release
- The app will list mailboxes and start monitoring the configured IMAP folder, sending alerts to the specified Discord user.
- Serenity for Discord interaction.
- Native TLS and imap for IMAP connectivity.
- Tokio for async runtime.