The Morning Mailer
Every morning, I use the same 3 apps: Todoist -to find out what I have to do today, Weather Underground – will it be warm, hot, cold, and a news app – what’s happened while I was sleeping. I needed some app that did all 3 things for me, but after searching Google’s Play store, nothing suited my needs. I decided that I would design my own app.
The Morning Mailer is a Python script that runs on my server, tompaulus.com, and sends me an email, every week day at 6 in the morning. First, greeting me in a foreign language, and then telling me what the weather will be like. Utilizing Weather Underground‘s API I gain access to a concise text forecast for the day and a high-resolution, animated Radar map of my area. The greetings are stored on the server in a “.csv” file, and I can add/remove greetings simply, without having to modify the Python code.
I use Todoist to keep track on my schoolwork, like homework and upcoming tests and other events. Todoist’s API allows me to access all the pertinent data, making it simple to stay on-track.
The rest of the email contains the four top stories from the New York Times, including a picture and summary.
The information is parsed by Python, then injected into a beautiful HTML email, which was downloaded from MailChimp‘s Email Blueprint Github repository. Clone their repo here.
The documentation is available on the GitHub Page for this repo: http://tpaulus.github.io/MorningMailer/
Clone the repo: http://github.com/tpaulus/MorningMailer