A simple mailgun client
pip install pymailgun
To create a mailgun Client you will need a mailgun api key and the domain name to use (must match the domain name registered on the mailgun website).
from pymailgun import Client
mailgun_client = Client({api_key}, {domain_name})
To send an email
mailgun_client.send_mail(...) #see send_mail docstring