Upgrade gen_http_api to 2.0.1. Use tag for mimetypes
Refactoring. Move mailbox to its own db