Metadata-Version: 2.1
Name: googlemail
Version: 0.1.0
Summary: Gmail client
Home-page: https://github.com/orlandodiaz/googlemail
Author: Orlando Diaz
Author-email: orlandodiaz.dev@gmail.com
License: UNKNOWN
Description: ### Description
        High-level interface for sending email through googlemail.
        
        ### Usage
        
        Create conf.py and fill in your email and password credentials. Ex:
        
            email = 'your.email@gmail.com'
            password = 'your.pass'   
        
        Create googlemail object:
            
            gmail = Gmail(email, password)
            
         Start the server and login
         
            gmail.start_server()
            gmail.login()
            
         Create a simple template dictionary with the email header and body
         
            mail_template = {
                'from': 'fromsender@gmail.com',
                'to': 'tosender@gmail.com',
                'subject':  'Cool subject email',
                'body': """
                HTML template or the like
                """
            }
            
         Send the message
         
            gmail.send_msg(mail_template)
        
        ## Testing
        To run the tests you need to configure the sender username, password, and recipient email
        
            $ export GOOGLEMAIL_EMAIL=<YOUR SENDER EMAIL>
            $ export GOOGLEMAIL_PASSWORD=<YOUR SENDER PASSWORD>
        
            $ export GOOGLEMAIL_TESTEMAIL=<YOUR TEST RECIPIENT EMAIL>
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
