Returns information for an item attached to a mail in the player's inbox

See also Mail functions.


name, itemTexture, count, quality, canUse = GetInboxItem(mailID, attachmentIndex)


  • mailID - Index of a mail in the player's inbox (between 1 and GetInboxNumItems()) (number)
  • attachmentIndex - Index of an attachment to the message (between 1 and ATTACHMENTS_MAX_RECEIVE) (number)


  • name - Name of the item (string)
  • itemTexture - Path to an icon texture for the item (string)
  • count - Number of stacked items (number)
  • quality - Quality (rarity) of the item (number, itemQuality)
  • canUse - 1 if the player can use or equip the item; otherwise nil (1nil)