check err in emailer