index: number, index of the message in the mailbox
0 - Success
<0 - Error code
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.