Skip to content

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.

Notifications You must be signed in to change notification settings

Sven-Bo/python-morning-mailer-bot

Repository files navigation

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

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

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_SENDER=your_email@outlook.com
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

🤓 Check Out My Excel Add-ins

I've developed some handy Excel add-ins that you might find useful:

  • 📊 Dashboard Add-in: Easily create interactive and visually appealing dashboards.
  • 🎨 Cartoon Charts Add-In: Create engaging and fun cartoon-style charts.
  • 🤪 Emoji Add-in: Add a touch of fun to your spreadsheets with emojis.
  • 🛠️ MyToolBelt Add-in: 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

Support

If you appreciate the project and wish to encourage its continued development, consider supporting my work. ko-fi

Feedback & Collaboration

For feedback, suggestions, or potential collaboration opportunities, reach out at contact@pythonandvba.com. Logo

About

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.

Topics

Resources

Stars

Watchers

Forks