Last active
August 13, 2018 16:11
-
-
Save danielbloom/b7377fcf07bdd88385330f95fd411891 to your computer and use it in GitHub Desktop.
Default lamda handler method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def lambda_handler(event, context): | |
jira_assignments = get_jira_assigments() | |
for email_address, tickets in jira_assignments.items(): | |
body_html = generate_email_html(tickets) | |
body_text_only = generate_email_text(tickets) | |
send_reminder_email(email_address, body_html, body_text_only) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment