fix mail app check