updated email class