createPublicFolders(); $mailbox->syncPersonalFolders(); $mailbox->createAdminPersonalFolders(); } /** * Delete the following on mailbox delete: * - folders * - conversations * - user permissions. * * @param Mailbox $mailbox * * @return [type] [description] */ public function deleting(Mailbox $mailbox) { $mailbox->users()->delete(); $mailbox->conversations()->delete(); $mailbox->folders()->delete(); } }