The Gmail connection will keep an accounts email in sync, including attachments.

Creating a Connection

  1. Select an API key from the dropdown at the top. All documents created by the connection will be attributed to the selected API key.
  2. Fill out any metadata you want to associate with the emails in Gmail. You can use this to filter the data later. This is in JSON format. You can leave it blank, or you could set it to something like
  1. {
      "company": "acme"
    }
    

  1. The Gmail connector will automatically provide set a labels metadata that match the labels in Gmail. It will also set object_type to be a list of ["email"] or ["email", "email.attachment"]
  2. Select an Import mode. This is only applicable for PDFs. Fast only extracts text, but Hi-res also extracts images and tables. Fast can be up to 20x fast than Hi-res
  3. Click "Create Connection" at the top right

You will be taken back to the connectors page and the system will schedule a sync process as soon as possible.