#Overview Retrieving Email
- Google Mail APIs scan my inbox every 3 minutes.
- New emails are sent to a task queue for processing.
- Task queues get flushed every 5 minutes.
Processing Email
- Once an email is sent it is stripped (typically emails are sent with HTML) so we strip the email to plain txt.
- In plain text format the emails are then removed of their common words (ands, ifs, thens).
- A somewhat cohesive list of words is set and then they are sent to a hash map (think a much smaller version of Google Search).
- The list of words is compared to the hashmap with email responses.
Replying Email
- The output of processing is a plain text email.
- We then push the output from processing back into the Google Mail APIs
- The sender receives a unique and debatable humorous reply
#Getting Started
- Get a Google AppEngine instance via https://appengine.google.com
- Install Google App Engine Mac App - https://cloud.google.com/appengine/downloads
- Update your app.yaml file with the name
- Update settings.py with your email address
- Visit https://your-app-name.appspot.com/auth
- Once authorized your email should now be authorized to auto-respond.