DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to manage Gmail, Calendar, and Contacts by text with OpenInstinct

Connect a Google account so the assistant can work with your email, events, and contacts.

Short answer: In Google Cloud, configure the OAuth consent screen and enable the Gmail API, Google Calendar API, and People API; then create OAuth web credentials, add https://connect.vercel.com/callback as a redirect URI, and download the client-secret JSON. All steps.

  • Life admin
  • Advanced
  • 120 minutes
  • From the README
  • Any agent

Credentials. The Google client-secret download holds OAuth credentials, so keep it outside the repository and never commit it.

Who it is forA professional who wants to ask an assistant to send email, schedule events, or look up a contact from iMessage.

The problemSwitching between Gmail, Calendar, and Contacts for simple requests takes time, and an assistant needs safe, user-scoped access to do it.

The outcomeA user-scoped Google grant lets the assistant read and modify Gmail, manage Calendar, and search read-only Contacts.

What you need first

  • A Vercel account on the Pro plan, since the Hobby plan cannot run the every-minute schedule
  • A Kernel account on its free plan for cloud browsers
  • A Neon account on its free plan for Postgres
  • An iMessage-capable phone to verify the managed Linq line
  • A Stripe account only if you want Link wallet purchases

Steps

  1. In Google Cloud, configure the OAuth consent screen and enable the Gmail API, Google Calendar API, and People API.
  2. Create OAuth web credentials, add https://connect.vercel.com/callback as a redirect URI, and download the client-secret JSON.
  3. Run jq '{clientId: .web.client_id, clientSecret: .web.client_secret}' /absolute/path/to/downloaded-client-secret.json > "$google_credentials_file" to make the file Vercel expects, then create the connector with vercel connect create google --connection-method oauth --name open-instinct --data @"$google_credentials_file".
  4. Run vercel connect attach --project <project> --environment production --yes and then rm -f "$google_credentials_file". (inferred, check the README)
  5. Set GOOGLE_CONNECTOR_UID to the returned UID and redeploy.

Prompt for your agent

Using the repo Merit-Systems/OpenInstinct, create and attach a Google connector for the project <project> and set GOOGLE_CONNECTOR_UID. Expected output: the connector UID and a redeployed app. Verify that the credential file was deleted and that no credential file is staged in git.

Caveat. A Google OAuth app in Testing mode only works for listed test users and those grants expire after seven days.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Merit-Systems/OpenInstinct and "Manage Gmail, Calendar, and Contacts by text"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer