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 to device #296

Merged
merged 23 commits into from
Apr 14, 2024
Merged

✨ Email to device #296

merged 23 commits into from
Apr 14, 2024

Conversation

aaronleopold
Copy link
Collaborator

@aaronleopold aaronleopold commented Apr 10, 2024

Resolves #132
Resolves #184

PR adds emailing functionality to the core via a new email crate and corresponding API/core work:

  • Configure an SMTP emailer for the server
  • Configure trusted/forbidden devices/aliases (email addresses)
  • New permissions to opt users into being able to use the emailer:
    • email:send to send to any registered email aliases
    • email:arbitrary_send to send to any email address that is not forbidden

I'm currently facing issues getting the TLS Google port for SMTP to work. I'll likely spend more time tinkering, since I am going to be letting this sit for other misc testing anyways, but I might yeet that off to a future improvement to focus on other priorities.

Reminder to future self: push the migration once confident the schema changes are finalized ✅

@aaronleopold aaronleopold changed the title ⚡ Email to device ✨ Email to device Apr 10, 2024
@aaronleopold
Copy link
Collaborator Author

I was able to get TLS working with gmail, didn't test other common SMTP providers (e.g. outlook). I'll aim to merge this in to get it in experimental by sometime tomorrow

@aaronleopold aaronleopold marked this pull request as ready for review April 13, 2024 00:17
@aaronleopold aaronleopold merged commit f5e5a09 into experimental Apr 14, 2024
3 checks passed
@aaronleopold aaronleopold deleted the al/emailer branch April 14, 2024 17:15
@aaronleopold aaronleopold mentioned this pull request Jul 8, 2024
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.

1 participant