Mail Recipients

Recipient Triggers Template Code
group_responsible_directors group_added_comment, group_milestones_edited, group_personnel_change, session_requested_long , session_minutes_reminder, session_requested, session_request_cancelled, session_request_not_meeting, session_scheduled None
    def gather_group_responsible_directors(self, **kwargs):
        addrs = []
        if 'group' in kwargs:
            group = kwargs['group']
            if not group.acronym=='none':
                addrs.extend(group.role_set.filter(name='ad').values_list('email__address',flat=True))
            if group.type_id=='rg':
                addrs.extend(Recipient.objects.get(slug='stream_managers').gather(**{'streams':['irtf']}))
        return addrs