1) fixed http://downloads.servoy.com/beta/2.1_product/mail.jar
2) well yes, you first recieve it and then put it in the database
3) outlook, we could provide a method to delete a specific msg to get same behaviour,like deleteServerMail(sentdate)
4) numberofmsg is no problem, but recieveing headers is about 100bytes per header, seems not like a problem to me.
5) javamethods do not call them, they are hidden in normal use.
6) recieve date is filled in by the mail client, which in our case your method, so it is null.