reverted back accitental deletion
email function polishing
email backend polished