'Flatten the SES format for easier test writing.'

def get_last_email(self):

    message = self._get_last_email()
    return {u'from': message[u'Source'], u'to': message[u'Destination'][u'ToAddresses'][0], u'subject': message[u'Message'][u'Subject'][u'Data'], u'body_text': message[u'Message'][u'Body'][u'Text'][u'Data'], u'body_html': message[u'Message'][u'Body'][u'Html'][u'Data']}
