Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Helper #3

Merged
merged 70 commits into from
Jul 17, 2024
Merged

Email Helper #3

merged 70 commits into from
Jul 17, 2024

Conversation

VeeIsForVanana
Copy link
Collaborator

This PR completes the helper functions for sending emails on behalf of a designated admin. This includes setting up the designated_sender schema identifying the designated sender, the CRUD operations on this schema, obtaining an authorized access token and refresh token, and refreshing the access token using the latter.

Copy link

vercel bot commented Jul 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
drap ❌ Failed (Inspect) Jul 15, 2024 2:10pm

package.json Outdated Show resolved Hide resolved
src/lib/server/database.ts Outdated Show resolved Hide resolved
src/lib/server/database.ts Outdated Show resolved Hide resolved
src/lib/server/email/email.ts Outdated Show resolved Hide resolved
src/lib/server/email/email.ts Outdated Show resolved Hide resolved
src/lib/server/models/oauth.js Outdated Show resolved Hide resolved
src/routes/oauth/callback/+server.js Outdated Show resolved Hide resolved
src/routes/oauth/login/+server.js Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
Copy link
Owner

@BastiDood BastiDood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be merged for now, but future work involves removing nodemailer as a dependency and instead preferring the raw Gmail REST API for sending OAuth2-based emails.

@BastiDood BastiDood merged commit 4de4a62 into main Jul 17, 2024
2 checks passed
@BastiDood BastiDood deleted the email-overhaul branch July 17, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants