Updated email on error code