benilla-re systems structs docs

s_mailReadSinceQuery

global · ui

Address
0xb6efcc · 4 bytes, up to 0xb6efcf
Type
uint32_t
Meaning
Holds 1 once a mail is marked read, so closing the mailbox asks for the next-mail time
Confidence
verified, proof one
Finding
ui/mail#opening-the-inbox

Finding: Opening the inbox in ui: the mailbox and the inbox

CheckInbox() asks for the list: it returns at once while a request is pending or no mailbox is open; within 60 seconds of the last request it only signals MAIL_INBOX_UPDATE; otherwise it sends opcode 0x23a, sets the pending flag and stamps the next allowed time 60000 ms ahead. A mail is marked read by the first GetInboxText: opcode 0x247 is sent once per mail, flag 1 is set at once and days left above 3.0 fall to 3.0 for a mail that is not COD.

The derivation is in the doc.