I'm creating an iOS application with a password reset feature that sends an email to the user. After sending the email I want to display a `UIAlertController` to the user asking them if they would like to open the mail application. 

I've seen various posts on here along the lines of:

```
let url = NSURL(string: "mailto:")
UIApplication.sharedApplication().openURL(url!)

```

This works but unfortunately it starts a new message which is not what I want. I only want to launch the application so the user can see their inbox.