diff --git a/apps/sim/lib/auth/auth.ts b/apps/sim/lib/auth/auth.ts index ab3d3bda1a3..444bae85b02 100644 --- a/apps/sim/lib/auth/auth.ts +++ b/apps/sim/lib/auth/auth.ts @@ -1481,13 +1481,6 @@ export const auth = betterAuth({ emailType: 'transactional', }) - if (!result.success && result.message.includes('no email service configured')) { - logger.warn('Verification email skipped: no email service configured', { - type: data.type, - }) - return - } - if (!result.success) { throw new Error(`Failed to send verification code: ${result.message}`) } diff --git a/apps/sim/lib/messaging/email/mailer.ts b/apps/sim/lib/messaging/email/mailer.ts index 6b879b421cc..ad74672f361 100644 --- a/apps/sim/lib/messaging/email/mailer.ts +++ b/apps/sim/lib/messaging/email/mailer.ts @@ -87,11 +87,7 @@ export async function sendEmail(options: EmailOptions): Promise const data = processEmailData(allowed) if (activeProviders.length === 0) { - logger.info('Email not sent (no email service configured):', { - to: data.to, - subject: data.subject, - from: data.senderEmail, - }) + logger.warn('Email not sent: no email service configured') return MOCK_EMAIL_RESULT }