Custom errors and email errors.