Bug with Archiving email to custom module

Hi,

When I archive an email in Outlook 2016 ( Office 365 ) to one of my custom modules plugin says it has been archived successfully. Although the entry in the database emails table; columns parent_type and parent_id are both NULL, and in SuiteCRM email is not displayed in "History " tab