Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sven-bo/python-morning-mailer-bot
An automated Python script to kick-start your day with personalized morning updates, aggregating news, weather, and to-dos, delivered straight to your Outlook inbox.
https://github.com/sven-bo/python-morning-mailer-bot
automation daily-updates email-updates morning-routine news-aggregator python todo-list weather-report
Last synced: 6 days ago
JSON representation
An automated Python script to kick-start your day with personalized morning updates, aggregating news, weather, and to-dos, delivered straight to your Outlook inbox.
- Host: GitHub
- URL: https://github.com/sven-bo/python-morning-mailer-bot
- Owner: Sven-Bo
- Created: 2023-11-04T17:12:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T12:30:31.000Z (4 months ago)
- Last Synced: 2024-07-17T15:24:06.860Z (4 months ago)
- Topics: automation, daily-updates, email-updates, morning-routine, news-aggregator, python, todo-list, weather-report
- Language: Jupyter Notebook
- Homepage:
- Size: 569 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automate Your Morning Using Python
Automate your mornings with Python by receiving an email that compiles your daily news, weather, and to-do list. This script utilizes various APIs to gather your morning information and sends it to your Outlook email, ensuring you start your day informed and organized.
## Video Tutorial (Coming soon!)
[![YouTube Video](https://img.youtube.com/vi/XXX/0.jpg)](https://youtu.be/XXX)## How It Works
1. **API Integration:** The script pulls live data from news, weather, and to-do APIs.
2. **Email Automation:** Compiles the data into a friendly morning message and sends it to your Outlook email via SMTP.
3. **Python Anywhere Hosting:** The script can be hosted on PythonAnywhere for consistent daily updates.![How It Works](how_it_works.gif)
## Prerequisites
To use this script, you must have an `.env` file with your API keys and email credentials:
```
NEWS_API_KEY=your_news_api_key
TODOIST_API_KEY=your_todoist_api_key
WEATHER_API_KEY=your_weather_api_key
[email protected]
EMAIL_PASSWORD=your_password
```Additionally, ensure the following Python packages are installed as per `requirements.txt`:
```
python-dotenv==1.0.0
Requests==2.31.0
todoist_api_python==2.1.3
```## Usage
Simply clone the repository, set up your `.env` file with the necessary keys and credentials, ensure all requirements are installed, and execute the script to start receiving your daily morning updates.
## API Resources
- **News:** [MediaStack](https://mediastack.com/)
- **To-Do Items:** [Todoist](https://app.todoist.com/)
- **Weather:** [Weatherbit](https://www.weatherbit.io/)
- **Email Setup:** [Outlook Account Creation](https://www.microsoft.com/en-us/microsoft-365-life-hacks/organization/how-to-create-outlook-email-account)## ðĪ Check Out My Excel Add-ins
I've developed some handy Excel add-ins that you might find useful:- ð **[Dashboard Add-in](https://pythonandvba.com/grafly)**: Easily create interactive and visually appealing dashboards.
- ðĻ **[Cartoon Charts Add-In](https://pythonandvba.com/cuteplots)**: Create engaging and fun cartoon-style charts.
- ðĪŠ **[Emoji Add-in](https://pythonandvba.com/emojify)**: Add a touch of fun to your spreadsheets with emojis.
- ð ïļ **[MyToolBelt Add-in](https://pythonandvba.com/mytoolbelt)**: A versatile toolbelt for Excel, featuring:
- Creation of Pandas DataFrames and Jupyter Notebooks from Excel ranges
- ChatGPT integration for advanced data analysis
- And much more!## ðĪ Connect with Me
- ðš **YouTube:** [CodingIsFun](https://youtube.com/c/CodingIsFun)
- ð **Website:** [PythonAndVBA](https://pythonandvba.com)
- ðŽ **Discord:** [Join the Community](https://pythonandvba.com/discord)
- ðž **LinkedIn:** [Sven Bosau](https://www.linkedin.com/in/sven-bosau/)
- ðļ **Instagram:** [sven_bosau](https://www.instagram.com/sven_bosau/)## Support
If you appreciate the project and wish to encourage its continued development, consider [supporting my work](https://pythonandvba.com/coffee-donation).
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://pythonandvba.com/coffee-donation)## Feedback & Collaboration
For feedback, suggestions, or potential collaboration opportunities, reach out at [email protected].
![Logo](https://www.pythonandvba.com/banner-img)