[mail] surround with try-except