added email_sent attribute