SpinAI uses Nodemailer with Gmail SMTP to deliver meeting reminders. Every notification — whether triggered manually from the home screen or automatically each Monday by GitHub Actions — is sent through the Gmail account you configure in your environment variables.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fmoraga01/SpinAI/llms.txt
Use this file to discover all available pages before exploring further.
Why a Gmail App Password?
Google does not allow regular account passwords to authenticate SMTP connections when the account has two-factor authentication (2FA) enabled. Instead, Google requires you to generate a dedicated App Password: a 16-character credential that grants SMTP access to a single app without exposing your main account password or bypassing 2FA.Enable 2-Step Verification
Go to your Google Account → Security → 2-Step Verification. If it is not already enabled, turn it on and complete the setup. App Passwords are only available on accounts with 2FA active.
Generate an App Password
On the same Security page, scroll to the App passwords section and click it. Choose a name for the app — for example,
SpinAI — and click Generate. Google will display a 16-character password.Copy the 16-character password
Copy the generated password immediately — Google will not show it again. Store it somewhere safe until you complete the next step.
Email format
Every notification email is sent with the following addressing and subject line:| Field | Value |
|---|---|
| From | SpinAI <GMAIL_USER> |
| To | The assigned team member’s email address |
| CC | All other active members who have an email address set |
| Subject | ⏰ Reunión del viernes — {member_name} presenta |
es-CL, e.g. viernes, 18 de julio de 2025), and a reminder to prepare the presentation slide in advance.
When a notification is triggered in test mode (
testMode: true via POST /api/notify), the email is sent exclusively to GMAIL_USER — no CC recipients are included, and the subject line is prefixed with [PRUEBA] (e.g. [PRUEBA] ⏰ Reunión del viernes — Ana presenta). Use this to verify your SMTP credentials without sending live emails to the whole team.Next steps
Once your Gmail credentials are in place, you are ready to send notifications:- Manual notifications — trigger an email immediately from the home screen or the API
- Automatic notifications — configure the GitHub Actions cron to send reminders every Monday at 9:00 AM