Giter Site home page Giter Site logo

twimail's Introduction

twimail

THIS HACK IS WORK IN PROGRESS

##Emails to Twilio and back

#Pre Install Requirements

#How to set up Create a file called gmailvaraibles.py and create these variables mylogin = "your@gmailusername" mypassword = "yourpassword" furl = "https://APIKEY:[email protected]/2010-04-01/Accounts/YOURACCID/Messages.json" payload = {'From': '+SOMENUMBERSHERE', 'To': '+YOURPHONENUMBER'} Replace your phone number and twilio number in the above obviously, and you're ready to go.

#What does it do? The idea is that once every 6 hours with a CRONJOB this script will allow you to receive one or more SMSs with the titles of all your new emails

If you want to read an email you reply to the SMS with a number and you can get the full body of the email back.

Simple right?

#Cool I like the idea - What works? It works for GMail and Gmail business only for now.

Once you run the script or as part of scheduled job with cronjob (like I do), it will automatically check for fresh new emails.

If succesful in finding fresh emails, it will email you a list of email subjects to ur given number in the main.py file. Once an email has been detected as "fresh" twimail will label it as dispatched by applying a tag to it. This way you don't get fresh new emails twice.

#What is planned? Retrieve the text body of an email through SMS by giving an index to each email's subject you received through SMS.

#Why this? Sometimes you're in a different country with no wi-fi for a few hours or days and you still want to see if there are any crucial emails that you want to inspect

#Help I'm stuck -OR- Hey I wanna help Cool thanks for stopping by: open an issue or send a pull request!

made with <3 by orliesaurus

twimail's People

Contributors

orliesaurus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.