from google.appengine.api import urlfetch

def sendMandrillEmail():
    json_mandrill = {'key': 'YOUR_API_KEY', 'message': {'html':
        '<p>Example HTML content</p>', 'subject': 'Test subject',
        'from_email': 'example@email.com', 'from_name': 'Example Name',
        'to': [{'email': 'example.to@email.com'}]}}
Using Mandrill/MailChimp on Google App Engine to send confirmation emails