sendEmail function
Implementation
Future<void> sendEmail(String email) async {
String mail = "mailto:$email?subject=&body=${Uri.encodeFull("")}";
if (await canLaunchUrl(Uri.parse(mail)))
{
await launchUrl(Uri.parse(mail));
}
else
{
throw Exception("Unable to open the email");
}
}