Implemented user registration mail sending via scheduled task.