Fixed errors in create email