index: number, index of the message in the mailbox
Returns:
0 - Success
<0 - Error code
Note:
The deletion of a specific message from an IMAP mail server is committed immediately. The deletion of a specific message from a POP3 mail server is committed only upon disconnecting from the mail server.