Move mailbox emptying to setup for tests