Add REST call for purging an entire mailbox
Replace panic() with t.Fatalf where possible