open app mail

let mailURL = NSURL(string: "message://")!
if UIApplication.sharedApplication().canOpenURL(mailURL) {
UIApplication.sharedApplication().openURL(mailURL)
}