[FIX] mail: fix due to the changes for the app switcher whitelist
[FIX] mail: fix due to the changes for the app switcher whitelist

The app switcher in the enterprise branch introduces a new way to whitelist the
element in the app switcher. This commit apply this mechanism to the mail windows.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo