Automatically takes any attached items and money from a mail message. If the message does not have body text (which can be saved as a permanent copy), also deletes the message.

Signature:

AutoLootMailItem(mailID)

Arguments:

  • mailID - Index of a message in the player's inbox (between 1 and GetInboxNumItems()) (number)