Stay connected without the constant drain on your battery. Introducing **NotiMail** - the future of server-side email notifications using the renowned `ntfy` service!
Mobile devices often use IMAP IDLE, maintaining a persistent connection to ensure real-time email notifications. Such continuous connections rapidly consume battery power. The modern era demanded a smarter, more energy-efficient solution. Meet NotiMail.
## Features 🌟
-**Monitors Emails on the Server**: NotiMail checks for new, unseen emails without needing a constant client connection.
-**Processes and Notifies**: Once a new email is detected, NotiMail swiftly processes its details.
-**Leverages 'ntfy' for Alerts**: Rather than having your device always on alert, NotiMail sends notifications via the `ntfy` service, ensuring you're promptly informed.
Ensure you have Python installed on your machine. NotiMail is written in Python, and you'd need it to run the script. If you haven't already installed Python, download it from the [official website](https://www.python.org/downloads/) or your OS package manager.
----------
### Step-by-Step Installation:
**1. Clone or Download NotiMail:**
If you've hosted `NotiMail` on a platform like GitHub, provide the link and the command. For this example, I'll use a placeholder link:
Open the `config.ini` file in a text editor. Update the `[EMAIL]` section with your email credentials and host, and the `[NTFY]` section with the appropriate `NtfyURL`. For more information about ntfy and its configuration, please read the [official website](https://docs.ntfy.sh/)
**6. Run NotiMail:**
bash
`python NotiMail.py`
----------
### Troubleshooting:
1.**Python Not Found**: Ensure Python is installed and added to your system's PATH.
3.**Dependencies Missing**: If the script raises an error about missing modules, ensure you've activated your virtual environment and installed all necessary libraries.
----------
With that, you should have NotiMail up and running on your system! Enjoy a more efficient email notification experience.