6. The method of claim 5 , further comprising: receiving a request at the preview handler from the electronic mail client application to display a message corresponding to the error message; and displaying the message by the preview handler in response to the request.
5. The method of claim 1 , further comprising: determining whether the attached document was successfully loaded; and in response to determining that the attached document was not successfully loaded, returning an error message from the preview handler to the electronic mail client application.