Start of email implementation