The main
branch of the repo now leverages Nylas API v3 (currently in beta). The v2
branch of this repo will track Nylas API v2, though dev work on this app will largely focus on Nylas API v3.
As of API v3, Nylas parsed contacts are generated by the provider (Google/Microsoft). At present, webhooks are not supported for these types of contacts in API v3, thus the app now uses messages to create parsed contacts within the app.
Demonstrate the usage of Nylas parsed contacts in a CRM/CSP-like platform.
Imagine you are a user of a CRM/CSP tool. When you have email interactions with customers, maybe your contact copies someone new on the email. Ideally, your CRM/CSP will capture that new person's email address so you can store it in your system for use later. This is where parsed contacts come in--if your email account is connected, Nylas will create contacts that exist only on Nylas based on your email interactions. Contactifier uses these contacts to power a "workflow" wherein the user of the CRM/CSP tool can choose to convert a parsed contact into a legit contact in the CRM/CSP.
runtime.exs
)NYLAS_API_KEY_V3
, NYLAS_CLIENT_ID_V3
, NYLAS_WEBHOOK_SECRET
nylas_redirect_uri
, nylas_api_server
in dev.exs
and prod.exs
mix setup
to install and setup dependenciesmix phx.server
or inside IEx with iex -S mix phx.server
localhost:4000
from your browser.#{your_base_url}/integrations/callback
.grant.expired
, and message.created
and the URL #{your_base_url}/api/webhooks
.