Thank you so much for this! In your code I noticed it records how many letters have been received and how many in total are read, is it also possible to put these into switches/variables as a script?
Viewing post in [CGMZ] Mailbox for RPG Maker MZ comments
Hi, I have added the envelope images to the downloads for this.
You can get the total amount received with the following script
$cgmz.getMailboxReceivedLetters().length
And the read with the following script:
$cgmz.getMailboxReadLetters().length
You would put these in the Control Variables -> script box