mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 12:48:25 +00:00
Email Script: - The email script now accepts 3 keyword arguments; subject, recipients, and cc. - Subject and recipients are required. - Recipients (and cc) can be an email address or list of addresses. - You can use the string 'associated' in place of an email address, in which case we look up the users associated with a study that have send_email set to True. - Moved some helper methods to email_service. Email Service: - Added cc argument - Added helper methods previously in email script. - Modified get_rendered_content to accept message and data directly. Previously, we passed in the task and grabbed them from there. Now we can use the method outside a task.