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

Automate registration confirmation email #56

Open
achilleas-k opened this issue Sep 23, 2020 · 0 comments
Open

Automate registration confirmation email #56

achilleas-k opened this issue Sep 23, 2020 · 0 comments

Comments

@achilleas-k
Copy link
Member

We can semi-automate the confirmation email message that we send to the requesting user. Currently, I send it manually when the registration is finished and I base it on a template email that includes fields for the name of the user, the title of the dataset, and the DOI.

The service could create a link that encodes the above information (encrypted) in the same way the GOGS service encodes the request it sends to GIN DOI. The link can be included in the email that notifies us of a request. When the link is clicked, it loads a page with a text box pre-filled with the mail template with the fields filled in. We can then review or edit the email content and subject and press a button to have the DOI service send the email message to the user.

Requirements already met:

  • Email sending is already set up.
  • Encrypting variables into URL fields: The service can already decrypt these using the key it shares with GOGS/GIN-Web. We can use the same key and libgin functions to encrypt the email vars.

New requirements:

  • Form page for the email text that sends the email on submit.
  • Email notification template (that's sent to us) with link to form.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant