Add Email function

Add Email function
and edit some classes