Skip to content

Personal AI, On Personal Devices

Python

fix: merge Gmail IMAP into single "Gmail" channel entry

Jon Saad-Falcon6c9ede175675
diff --git a/frontend/src/types/connectors.ts b/frontend/src/types/connectors.ts
index 5fadf0fc..7ecd9025 100644
--- a/frontend/src/types/connectors.ts
+++ b/frontend/src/types/connectors.ts
@@ -54,13 +54,13 @@ export type SourceCard = ConnectorMeta;
export const SOURCE_CATALOG: ConnectorMeta[] = [
{
- connector_id: 'gmail_imap',
- display_name: 'Gmail (IMAP)',
+ connector_id: 'gmail',
+ display_name: 'Gmail',
auth_type: 'oauth',
category: 'communication',
icon: 'Mail',
color: 'text-red-400',
- description: 'Email via app password',
+ description: 'Email messages and threads',
unitLabel: 'emails',
steps: [
{
@@ -140,32 +140,6 @@ export const SOURCE_CATALOG: ConnectorMeta[] = [
{ name: 'token', placeholder: 'grn_...', type: 'password' },
],
},
- {
- connector_id: 'gmail',
- display_name: 'Gmail',
- auth_type: 'oauth',
- category: 'communication',
- icon: 'Mail',
- color: 'text-red-400',
- description: 'Email messages and threads (OAuth)',
- unitLabel: 'emails',
- steps: [
- {
- label: 'We recommend using Gmail (IMAP) instead — it\'s simpler. Select "Gmail (IMAP)" from the channels list.',
- },
- {
- label: 'If you need OAuth: Go to Google Cloud Console → Enable Gmail API → Create OAuth Client ID',
- url: 'https://console.cloud.google.com/apis/library/gmail.googleapis.com',
- urlLabel: 'Enable Gmail API',
- },
- {
- label: 'Copy the Client ID and Client Secret, then paste below',
- },
- ],
- inputFields: [
- { name: 'token', placeholder: 'Client ID:Client Secret', type: 'password' },
- ],
- },
{
connector_id: 'imessage',
display_name: 'iMessage',