diff --git a/apps/web/pages/api/email.ts b/apps/web/pages/api/email.ts index 4e66ffca40..e353dfa4c6 100644 --- a/apps/web/pages/api/email.ts +++ b/apps/web/pages/api/email.ts @@ -35,17 +35,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { uid: "xxyPr4cg2xx4XoS2KeMEQy", metadata: {}, recurringEvent: null, - team: { - name: "Team example", - members: [ - { name: "team member 1", email: "team@example.com" }, - { name: "team member 2", email: "team2@example.com" }, - { name: "team member 3", email: "team3@example.com" }, - { name: "team member 4", email: "team4@example.com" }, - { name: "team member 5", email: "team5@example.com" }, - { name: "team member 6", email: "team6@example.com" }, - ], - }, appsStatus: [ { appName: "Outlook Calendar", diff --git a/packages/lib/serverConfig.ts b/packages/lib/serverConfig.ts index ff64e52ae8..46c6dca0a5 100644 --- a/packages/lib/serverConfig.ts +++ b/packages/lib/serverConfig.ts @@ -26,15 +26,6 @@ function detectTransport(): SendmailTransport.Options | SMTPConnection.Options | return transport; } - if (process.env.EMAIL_SERVER_PORT) { - const port = parseInt(process.env.EMAIL_SERVER_PORT!); - const transport = { - port, - }; - - return transport; - } - return { sendmail: true, newline: "unix",