Extracting layout code into layout template.
Extract gravatar partial to use in emails
Create new micropost email template
Removing no longer used method
Using new email-template for event invites. Also cleaning up some more
Use new email template on lost password mail