public async Task<ActionResult> Mail() {
   MailRepository repo = new MailRepository();
   var mails = await repo.GetMessages();
   return View(mails);
 }
 public async Task<ActionResult> ComposeMessage(EmailModel model) {
   MailRepository repo = new MailRepository();
   await repo.SendMessage(model);
   return RedirectToAction("Index");
 }