[MERGE] [FIX] mail: locate current menu using a safer method + check  case
[MERGE] [FIX] mail: locate current menu using a safer method + check  case

akretion/openerp-web,akretion/openerp-web,akretion/openerp-web