Add mailbox command

Closes #1841