title: SwiftUI: Send email
body: <p>In a normal <code>UIViewController</code> in Swift, I use this code to send a mail.</p>
  
  <pre><code>let mailComposeViewController = configuredMailComposeViewController()
  
  mailComposeViewController.navigationItem.leftBarButtonItem?.style = .plain
  mailComposeViewController.navigationItem.rightBarButtonItem?.style = .plain
  mailComposeViewController.navigationBar.tintColor = UIColor.white
  
  if MFMailComposeViewController.canSendMail() {
      self.present(mailComposeViewController, animated: true, completion: nil)
  } else {
      self.showSendMailErrorAlert()
  }
  </code></pre>
  
  <p>How can I achieve the same in SwiftUI?</p>
  
  <p>Do I need to use <code>UIViewControllerRepresentable</code>?</p>