Register the send email console command.

Inject dependencies into the command.