Fix error handling
Canonicalize inbox as Inbox instead of INBOX