In-game mail: letters, rewards and gifts
How the ready-made iDos Games mailbox works - letters with rewards from the publisher, missed rewards of other systems, daily gifts and transfers between friends - and how to turn it on in the dashboard.
The mailbox is the player's inbox: letters from you with rewards, missed rewards of other systems, and gifts between friends. It is part of every new project and appears in the lobby once you turn the mailbox on.
What the player sees
- Tabs by category: all, rewards, gifts, system.
- A letter with its text in the player's language, the sender, a banner, rewards and a button to a screen or a page.
- "Claim" and "Claim all" in one server operation; rewards of other systems not taken yet are on top.
- "Send gifts": a free daily gift to friends ("to everyone" in one tap) and transfers of own coins or items to one friend.
How it works
- Missed rewards of other systems (a leaderboard round, a team event prize, invite rewards) are claimed right here.
- Declined or expired transfers come back to the sender.
- The server owns limits, friendship checks, expiry and what can be transferred.
Step 01Add the system to your project
Nothing to add: the mailbox is part of every new project. Its tab is hidden until the mailbox is turned on.
Step 02Set it up in the dashboard
Open the dashboard, pick your project and go to Live Operations → v2 → Mailbox.
- Turn the mailbox on.
- Create letter templates and send broadcasts to players.
- Set the daily gift and which coins and items friends can transfer.
The AI button on the page opens an assistant: describe what you need, it proposes changes, and you review them and press Save.
Step 03Test and release
Check the system in the test version of your app. Settings go to the live app as a separate action - see publishing and links.
For developers
The mailbox works through client.mailbox in @idosgames/core.
// Letters of a category, then claim everything waiting in one operation
const mail = await client.mailbox.getMessages({ category: 'Reward' })
const res = await client.mailbox.claimAll()
// A free daily gift to several friends at once
await client.mailbox.sendGift('daily_coins', [friendA, friendB])- A transfer to a friend is
sendTransfer; the server checks friendship and limits. - The badge is
getUnreadCount: unread letters and rewards waiting.
Every field is described in the mailbox-system skill, served by the SDK MCP server.
Frequently asked questions
Can I send a letter with a reward to all players?
Yes. Broadcasts with rewards are sent from the Mailbox section of the dashboard.
Can players send coins to each other?
Yes, to friends, within the limits you set. A declined or expired transfer comes back.
See also
- Friends in your game: requests, suggestions and newsHow the ready-made iDos Games friends system works - a friend list, requests, suggestions of active players, a news inbox, adding by ID and friends from idosgames.com - and where to set it up.
- Invite friends: codes, links and rewardsHow the ready-made iDos Games invite system works - a personal invite code and link, a gift for the newcomer and a reward ladder for friends who came - and how to turn it on in the dashboard.
- Daily login rewards: a calendar for returningHow ready-made iDos Games daily rewards work - a login calendar with a big prize on the last day that opens by itself while a reward waits - and how to set it up in the dashboard.
Make your own game
Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.