[FIX] mail: Introduced get_patners_to_notify method that calculates partner_ids for mail in exception (Maintenance: 611701)