Cant delete email inbox icon from desktop v. 8-beta

Hi there, any hint on how to remove icon from desktop?

I’ve deleted all Email Inbox icon from icon list but it wont disappear and any user can see all communication like the System Manager.

Thx

Ok, i got the point. For some reason Email Inbox icon is hardcoded in the desktop.js file:

What’s the reason for that?

Any hint on how to remove it so that changes will not be lost when running bench update?

Thx

@JoEz,

added a condition now Email Inbox desktop will show up only if the user has configured the email inbox.

Thanks,
Makarand

@makarand_b great, thx!