updated the create_ticket_and_send_initial_correspondence, send_annual_report_correspondence and send_one_month_remaining_correspondence to write.csv in every iteration (resolves #39). The resulting performance is a lot slower now but will avoid accidentally emailing researchers twice
also updated places with slackr_setup is used to include the bot_user_oauth_token in the code and in the readme
slack bot will now provide the total number of tickets sent using send_correspondence so the datateam will have an idea of what has been sent out.
create_ticket_and_send_initial_correspondence
,send_annual_report_correspondence
andsend_one_month_remaining_correspondence
towrite.csv
in every iteration (resolves #39). The resulting performance is a lot slower now but will avoid accidentally emailing researchers twiceslackr_setup
is used to include thebot_user_oauth_token
in the code and in the readmesend_correspondence
so the datateam will have an idea of what has been sent out.