Don't upload to mailbox when directly connected to contact
While we're directly connected to a contact we should stop creating files to send to the contact via our own mailbox or the contact's mailbox. Files that have already been created should be uploaded, and downloads should continue as normal.
The mailbox upload worker (#2291 (closed)) is probably the best place to add this.