https://github.com/dianqk/unseenmail
Notify via ntfy when unseen new emails arrive
https://github.com/dianqk/unseenmail
email notification ntfy
Last synced: 4 months ago
JSON representation
Notify via ntfy when unseen new emails arrive
- Host: GitHub
- URL: https://github.com/dianqk/unseenmail
- Owner: DianQK
- License: mit
- Created: 2023-04-29T07:17:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T16:10:53.000Z (over 1 year ago)
- Last Synced: 2025-02-19T09:53:53.650Z (8 months ago)
- Topics: email, notification, ntfy
- Language: Rust
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unseenmail | Notify via ntfy when unseen new emails arrive
I use this service to reduce k-9 mail power consumption. If you have new features, please feel free to PR.
## Requirements
- Mail service requires IMAP and IDLE support.
- Self-hosted [ntfy](https://github.com/binwiederhier/ntfy).> I use QQ and Fastmail.
## Configuration
```toml
[[accounts]]
name = "example"
server = "imap.example.com"
port = 993
username = "example@example.com"
password = "password"
ntfy_url = "https://ntfy.example.com"
ntfy_topic = "new_mail"
ntfy_clickable_url = "k9mail://messages" # optional[[accounts]]
name = "example2"
server = "imap.example2.com"
port = 993
username = "example2@example2.com"
password = "password"
ntfy_url = "https://ntfy.example2.com"
ntfy_topic = "new_mail_2"
ntfy_clickable_url = "k9mail://messages" # optional
```## Installation
See [docker-compose.yml](docker-compose.yml).
Put the configuration file into `./app/unseenmail.toml`.
## Credits
- [buzz](https://github.com/jonhoo/buzz): A simple system tray application for notifying about unseen e-mail.
- [async-imap](https://github.com/async-email/async-imap): Async IMAP implementation in Rust.