Email send function added.