A python utility to send mail from gmail using OAuth2.0
To download click_here
- goto downloads directory where pymailer is downloaded
# e.g. cd ~/Downloads/
- move pymailer to home directory
mv pymailer* ~/
- set alias to execute as command
printf "alias pymailer='python ~/pymailer/pymailer.py'\n" >> ~/.bash_profile
- load changes
source ~/.bash_profile
- run setup
pymailer --setup
- test sending a mail
pymailer -e your_email@gmail.com -s subject -b body
- to install httplib2
pip install --upgrade httplib2
- to install oauth2client
pip install --upgrade oauth2client
- to install google-api-python-client
pip install --upgrade google-api-python-client