Gmail Preservation

Details on how to preserve Gmail and G Suite mailboxes using Gmail API