API:GetInboxNumItems

Returns the number of (accessable) mail items in your inbox.

Parameter
none

Returns

 * numMails
 * Integer - the number of messages in your inbox.

Example
Delete all mails without any check: Please note that this is a very bad example of deleting all mails. Furthermore it may not work, as the server might stall since the delete requests are sent very frequently.