{% extends "base.html" %} {% block title %}Connect your email — Academic Studio{% endblock %} {% block content %}
Mail · end of the product loop
Connect Gmail with one click, use an app password, or download a .eml after you approve a letter. Google’s Testing mode still shows an unverified-app warning and expires refresh tokens weekly until the product homepage + privacy policy clear verification. Outlook OAuth stays unverified live — use .eml or an app password. Plan due sends in Campaign. Optional AI only polishes evidenced sentences before you approve.
Open drafts Campaign planner Applications
{% if mailbox_kind == 'gmail' %}Connected {{ gmail.email or 'Gmail' }}
{% if gmail.testing_expiry_label %}{{ gmail.testing_expiry_label }}
{% endif %}Account permissions: {{ gmail.permissions }}
Automatic reply detection — {{ gmail.reply_detail }}
{{ quota_label }}
Connected {{ outlook.email or 'Outlook' }}
{{ outlook.detail }}
Connected {{ institute.email }}
{{ institute.permissions }} · servers filled in automatically
{% if institute.imap_ready %}IMAP settings stored for future reply detection (not enabled yet).
{% endif %}{{ quota_label }}
No Google Cloud project. Create an app password in your Google/Microsoft account, then save it here in one step.
Prefer offline? Approve a letter in Prepare and download a .eml — zero mail setup.
We’ll detect the campus mail servers from your address.
{{ discovery.detail or 'Institutional mail configuration detected' }}
{{ discovery.institution }} · SMTP {{ discovery.smtp.host }}:{{ discovery.smtp.port }} ({{ discovery.smtp.security|upper }}){% if discovery.imap %} · IMAP {{ discovery.imap.host }}:{{ discovery.imap.port }}{% endif %}
{% if not discovery.verified_endpoints %}We could not verify the mail server from this network yet (VPN may be required). You can still try connecting.
{% endif %}Credentials are stored securely on your device, not on our servers.{% if discovery.source_url %} Official client settings{% endif %}
Using Google Workspace or Microsoft 365 on this address instead? Choose a provider below.
{% elif discovery.auth_method == 'oauth_google' %}{{ discovery.detail }}
{% if gmail_oauth_ready %}Send-only permission. Google may show an unverified-app warning until verification; Testing-mode tokens expire after 7 days. Or use an app password / .eml.
Recommended: .eml or SMTP app password
Approve a letter and download a .eml, or use a Gmail app password under Advanced.
{{ discovery.detail }}
{% if outlook_oauth_ready %}We never ask for your email password. You can revoke access at any time.
{% else %}Recommended: .eml or SMTP app password
No Microsoft app id is bundled. Approve a letter and download a .eml, or use an Outlook app password under Advanced.
{{ discovery.detail }}
{% endif %}{% if discovery %}Other ways to connect:{% else %}Or jump straight to a known provider:{% endif %}
Personal and university Google accounts
{% if gmail_oauth_ready %}Shipped Desktop client · send-only. Unverified-app warning + weekly token expiry until Google verification. App password and .eml still work.
Recommended: .eml or SMTP app password
Download a .eml, or use a Gmail app password under Advanced.
University and personal Microsoft accounts
{% if outlook_oauth_ready %} {% else %}Recommended: .eml or SMTP app password
This build does not ship a Microsoft app id. Download a .eml, or use an Outlook app password under Advanced. Optional: add your own app id under Advanced for one-click send.
These sends left the app before a provider confirmation. Mark the real outcome — Studio will not auto-retry them.
Letters stay in Academic Studio until you approve them. Nothing is ever sent automatically.
{% if not drafts %}No approved letters yet. Approve a letter on its draft page and it will appear here.
{% else %}A gentle cap keeps your outreach respectful and protects your account.
Only needed if automatic setup did not work or your institution gave you its own sign-in app. Most people never need this.
Academic Studio already ships a Desktop client id. Override only if you registered your own Google Cloud app. Client secret stays optional for public Desktop + PKCE — never commit a secret into the product tree.
{{ gmail.verification_note }}
Works without building a Google/Microsoft Cloud app. Create an app password in your Google or Microsoft account security settings, then save it here. Prefer a dedicated outreach inbox.
{% if smtp_connected %}Mailbox saved
{% else %}No SMTP mailbox connected.
{% endif %}