Fix error when no mail is available