Notification when failing mail sync

The Problem

I’m using mailspring on linux with office365 account. And office365 token expires sometimes, maybe everyday.
But I can’t follow the token is alive or not because mailspring task tray icon won’t change when failing mail sync until opening the window.

Proposed Solution

I think the task tray icon should be changed along with the mail sync status.