Email send functinality added