implement the email interface