initiating email class