ZackMFleischman / FinMessenger

Command line tool to quickly send emails/commands to Fin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FinMessenger

Command line tool to quickly send emails/commands to Fin via your Gmail account.

Usage

python Fin.py "Message Body" -s "Message Subject"

The -s [Message subject] is optional, and the subject will be auto-filled if left out.

Setup

You need to setup a project on the Google Developers Console and download some credentials after enabling the Gmail API for that project.

After you download the client_secret.json (Application Name should be "FinMessenger"), stick it in your repo folder and run the program with a test message. This should generate credentials for you (via opening your browser and asking for permission).

You then need to create an emails.txt file with two emails in the form

from@gmail.com
to@gmail.com

and stick it in your repo home directory as well.

That should do it.

About

Command line tool to quickly send emails/commands to Fin

License:GNU General Public License v3.0


Languages

Language:Python 100.0%