     var fromname: String?
     var text: String?
     var html: String?
-    var headers = []
+    var headers: [String:String]?
     var cc: [String]?
     var bcc: [String]?
     var replyto: String?

        self.setHtmlBody(html)
    }
    
    func send(completionHandler: ((NSURLResponse!, NSData!, NSError!) -> Void)?) {
        let url = NSURL(string: "https://api.sendgrid.com/api/mail.send.json")!
        let request = NSMutableURLRequest(URL: url)

        
        request.HTTPBody = body.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
        let queue:NSOperationQueue = NSOperationQueue()
        //        NSURLConnection.sendAsynchronousRequest(request, queue: queue) { (response, data, error) -> Void in
        //            if let handler = completionHandler {
        //                handler(response, data, error)
        //            }
        //        }
    }
}