I'd be more inclined to move this logic into a different class, such as `UserFactory`. Emails should never be sent in `after_create` hooks because of the open database transaction. You could move it to an `after_commit` hook, but I just don't like the idea that creating a `User` object automatically sends an email.