Attempted email send without valid mailbox id
Summary
Sending an email in MailboxXhr:send_message sometimes fails because the mailbox id is not set. The id should probably come from either a hidden field or a manual selection in MailboxView:folderlist and is used in the request in Mailbox.js:151.
https://sentry.io/share/issue/0703605d3a034a47be8bdb86ccac820f/
Steps to reproduce
I'm not sure yet. Should sometimes appear when sending an email.
What is the current bug behavior?
Also not sure, except that the sentry error appears.
What is the expected correct behavior?
The $_POST['mb']
should contain a valid mailbox id and the email should be sent.