[mail] Invalidate collection when error happens.
[mail] Some design.