feat(gmail): add gmail integration

This commit is contained in:
Rıdvan Akca
2024-04-21 16:18:18 +02:00
parent e4292815cd
commit b594a8e0f3
13 changed files with 243 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import defineApp from '../../helpers/define-app.js';
import addAuthHeader from './common/add-auth-header.js';
import auth from './auth/index.js';
export default defineApp({
name: 'Gmail',
key: 'gmail',
baseUrl: 'https://mail.google.com',
apiBaseUrl: 'https://gmail.googleapis.com',
iconUrl: '{BASE_URL}/apps/gmail/assets/favicon.svg',
authDocUrl: 'https://automatisch.io/docs/apps/gmail/connection',
primaryColor: 'ea4335',
supportsConnections: true,
beforeRequest: [addAuthHeader],
auth,
});