opencode

Connect OpenCode to Gmail and Linear

With Gmail and Linear both wired into OpenCode, the agent can take an email and turn it into a properly labeled Linear issue, then report back by mail when the work ships. It reads inbound messages, files issues with the right team and priority, and sends Gmail updates as status changes. The combination handles bug and request intake straight from the inbox to the issue tracker.

Loading preview…
Opens a workflow with 77 tools ready to use.

Tools OpenCode gets

Pick the operations you want and each becomes a tool the agent can call directly while it works.

Gmail

27 tools
Send Email Message

Configuration for sending an email

Fetch Emails from Inbox

Configuration for reading emails from inbox

Fetch Email Message

Configuration for getting a specific message

Permanently Delete Message

Configuration for permanently deleting a message

Move Message to Trash

Configuration for moving a message to trash

Restore Message from Trash

Configuration for removing a message from trash

Update Message Labels

Configuration for modifying message labels

Reply to Email Message

Configuration for replying to an email

Forward Email Message

Configuration for forwarding an email

Create Email Draft

Configuration for creating a draft

List Email Drafts

Configuration for listing drafts

Fetch Email Draft

Configuration for getting a specific draft

Update Email Draft

Configuration for updating a draft

Delete Email Draft

Configuration for deleting a draft

Send Email Draft

Configuration for sending a draft

List Email Labels

Configuration for listing all labels

Create Email Label

Configuration for creating a label

Fetch Email Label

Configuration for getting a label

Update Email Label

Configuration for updating a label

Delete Email Label

Configuration for deleting a label

List Email Threads

Configuration for listing threads

Fetch Email Thread

Configuration for getting a specific thread

Move Thread to Trash

Configuration for moving a thread to trash

Restore Thread from Trash

Configuration for restoring a thread from trash

Update Thread Labels

Configuration for modifying thread labels

Permanently Delete Thread

Configuration for permanently deleting a thread

Fetch User Profile

Configuration for getting user profile

Linear

50 tools
List Issue Comments

List comments for a specific Linear issue

Create Issue Comment

Create a comment on a specific Linear issue

Update Issue Comment

Update an existing comment

Delete Issue Comment

Delete a comment

List Team Cycles

Retrieve cycles for a specific Linear team

Create Cycle

Create a new cycle (sprint) for a team

Update Cycle

Update an existing cycle

Archive Cycle

Archive a cycle

Get Document

Retrieve a Linear document by ID

List Documents

List documents in the user's Linear workspace

Create Document

Create a new document. Requires exactly one of: projectId, teamId, or issueId.

Update Document

Update an existing document

Delete Document

Delete a document

Get Issue

Retrieve detailed information about an issue by ID

List Issues

List issues in the user's Linear workspace

Create Issue

Create a new Linear issue

Update Issue

Update an existing Linear issue

Delete Issue

Delete a Linear issue

Search Issues

Search issues by query string

Archive Issue

Archive an issue

Unarchive Issue

Unarchive an issue

List Team Workflow States

List workflow states (statuses) for a team

List Issue Labels

List available issue labels in a Linear workspace

Create Issue Label

Create a new Linear issue label

Update Issue Label

Update an issue label

Delete Issue Label

Delete an issue label

List Projects

List projects in the user's Linear workspace

Get Project

Retrieve details of a specific project

Create Project

Create a new project in Linear

Update Project

Update an existing Linear project

Archive Project

Archive a project (soft delete)

Delete Project

Permanently delete a project

List Project Milestones

List milestones for a project

Create Project Milestone

Create a project milestone

Update Project Milestone

Update a project milestone

Delete Project Milestone

Delete a project milestone

List Teams

List teams in the user's Linear workspace

Get Team

Retrieve details of a specific Linear team

List Users

Retrieve users in the Linear workspace

Get User

Retrieve details of a specific Linear user

Get Authenticated User

Get the currently authenticated user

List Issue Attachments

List attachments for an issue

Create Issue Attachment

Create an attachment (link URL to issue)

Delete Attachment

Delete an attachment

List Issue Relations

List issue relations (blocks, related, duplicate)

Create Issue Relation

Create a relation between issues

Delete Issue Relation

Delete an issue relation

List Webhooks

List webhooks for the organization

Create Webhook

Create a webhook

Delete Webhook

Delete a webhook

What you can build

Read incoming bug-report emails and create a matching Linear issue with labels and priority for each
Triage a Linear team's open issues and email a prioritized summary to the lead
When an email mentions an existing issue, post the message as a comment on that Linear issue
Find Linear issues marked Done and email the original reporter that their request is complete

About OpenCode

OpenCode is an open, model-agnostic command-line coding agent. In NoClick it runs hosted and gains your apps as tools, so it can act on real systems rather than just edit files. Wire an integration into the agent and OpenCode can use that app’s operations directly while it works. It is a flexible choice when you want an open agent with broad model support and real tool access.

Open and model-agnostic
Flexible across many underlying models
Good general-purpose tool use
Lightweight to point at a focused task

Frequently asked questions

Open your OpenCode agent in one click

NoClick runs OpenCode for you with Gmail and Linear wired in as tools. Connect your account and run.