debug mailbox js
toggle in/outbox buttons
merge fix