email addition

Addition of email function