The total_unread_count should display 1 (as is correctly displayed in the EVE client). However, it appears to simply add the number of unread messages on each label.
Assigning a third label to this message will cause the total_unread_count to change to 3, etc…
Bug
We can retrieve the number of total unread emails of a character via the
/characters/{character_id}/mail/labels/
endpoint.However, the number of unread emails is not calculated correctly when an unread message is assigned more than one label.
For instance, let's consider we have a single unread message that is assigned two labels (plus
Sent
):Querying the ESI endpoint will return a
200
status with the following body:The
total_unread_count
should display1
(as is correctly displayed in the EVE client). However, it appears to simply add the number of unread messages on each label.Assigning a third label to this message will cause the
total_unread_count
to change to3
, etc…Checklist
Check all boxes that apply to this issue: