new email implementation