Open DanCoughlin opened 5 years ago
Send an email to all the depositor On the 1st of each month if they had downloads. Let them know how many downloads on files they had in the the last month, and total downloads. Link to the dashboard. Information should be coming from ScholarSphere (no_reply@scholarsphere.com).
Should have the ability to opt out of the emails. By default the users will be subscribed.
For the first iteration we will allow the mail system to just bounce the emails. In future we may want to check LDAP to make sure the person is still valid. WE can also look at simplifying the opt out mechanism in the future.
@cynhudson will provide updated email content to update https://github.com/psu-stewardship/scholarsphere/blob/develop/app/views/user_mailer/user_stats_email.html.erb
Dear Author,
You had <%= @presenter.file_downloads %> new downloads last month across your <%= @presenter.total_files %> files in <%= t('sufia.product_name') %>.
You can view your overall statistics in <%= t('sufia.product_name') %> by accessing your dashboard.
Interested in sharing, archiving, and preserving other work? Consider depositing any of the following in [ScholarSphere](https://scholarsphere.psu.edu/): - Articles: Check [SHERPA/RoMEO](http://www.sherpa.ac.uk/romeo/index.php) to determine which version of an article you can archive. - Datasets - Videos - Software and analysis code - Book chapters: Check your publishing agreement to see if you can deposit a contributed chapter. - Books: Consider [regaining copyright](https://www.authorsalliance.org/resources/rights-reversion-portal/) from your publisher so you can deposit an out-of-print book. You can also deposit any book that is openly licensed, such as an open access monograph bearing one of the Creative Commons licenses. If you have questions please [contact us](https://scholarsphere.psu.edu/contact)!
@cynhudson Did you want "Dear Cynthia" instead of just "Author"? Or use full name instead of just the given name?
It would be great if it said "Dear Cynthia"!!
@cynhudson I'd like to add a sentence to the end of the email with a link to the opt out checkbox in the user profile. The user profile is a feature in SS that doesn't get used/seen very much, so I think a little more instruction on how to opt out would be good.
https://www.darkpatterns.org/types-of-dark-pattern/roach-motel
I thought we may have had something in here similar, but I wasn't able to find it. As a user I would like to receive a monthly report about how many times my files have been downloaded and my total downloads, via email, with a link to my dashboard. This is common in BePress. I'm attaching a screen shot of that. (may be worth noting this request came in from users).