[CoLaB] create author invitation email notification template
Description; purpose of this task is to create an email notification template that contains a unique link, connecting an Author to an object in the system.
Workflow:
- Articles are imported via API
- Editors open Control view of an article
- Using the notification system, an author is sent an author acceptance email
- a) Author using 'accept' link email is redirected to the homepage b) Author using 'reject' link email is redirected to Kotahi 'review rejected' confirmation page
- Author use ORCID to log in to Kotahi
- Author sees their unsubmitted preprint on their Dashboard
Reference;
- Email template content - handled in #578
- 'Reject page' UI - Figma board
Acceptance criteria;
- Author assigned to the preprint when the Author signs in using his/her ORICD ID and after clicking on the 'accept' link in the notification email
- Reject status set when user clicks on 'reject' link in email
- Preprint linked to Author has an 'unsubmitted' status until author submits form or accepts T&Cs and submits a form
- The author's email address is copied to the Author User Account
- If an Author rejects an invitation to review the result is a 'Declined' Status. Visible on the Dashboard and Manuscripts view.