enqueue: Write a test suite to make sure that enqueue works
Test email templates are expanded correctly
Lifted out call to sendmail; test mails are sent

Now tests that if a command is put onto the outbox queue, that the consumer will
dequeue it and actually send an email.