made email working