original_docstring: 
      Sends an email to one of the matches for the week
          user - user receiving the email
          participants - other people in the meeting
          meeting_spec - meeting specification
      
docstring: Sends an email to one of the matches for the week
  user - user receiving the email
  participants - other people in the meeting
  meeting_spec - meeting specification
docstring_tokens: Sends an email to one of the matches for the week user - user receiving the email participants - other people in the meeting meeting_spec - meeting specification
code: def send_match_email(user, participants, meeting_spec):
      """
      Sends an email to one of the matches for the week
          user - user receiving the email
          participants - other people in the meeting
          meeting_spec - meeting specification
      """
      meeting_datetime = get_meeting_datetime(meeting_spec)
      meeting_datetime_end = meeting_datetime + datetime.timedelta(minutes=30)
      subscription = meeting_spec.meeting_subscription
  
      send_single_email(
          user.email,
          'Yelp Beans Meeting',
          'match_email.html',
          {
              'user': user,
              'participants': participants,
              'location': subscription.office + " " + subscription.location,
              'meeting_title': subscription.title,
              'meeting_start_day': meeting_datetime.strftime('%A'),
              'meeting_start_date': meeting_datetime.strftime('%m/%d/%Y'),
              'meeting_start_time': meeting_datetime.strftime('%I:%M %p %Z'),
              'meeting_end_time': meeting_datetime_end.strftime('%I:%M %p %Z'),
              'calendar_invite_url': create_google_calendar_invitation_link(
                  participants,
                  subscription.title,
                  subscription.office,
                  subscription.location,
                  meeting_datetime,
                  meeting_datetime_end
              ),
              'project': secrets["PROJECT"]
          }
      )
code_tokens: def send_match_email ( user , participants , meeting_spec ) : meeting_datetime = get_meeting_datetime ( meeting_spec ) meeting_datetime_end = meeting_datetime + datetime . timedelta ( minutes = 30 ) subscription = meeting_spec . meeting_subscription send_single_email ( user . email , 'Yelp Beans Meeting' , 'match_email.html' , { 'user' : user , 'participants' : participants , 'location' : subscription . office + " " + subscription . location , 'meeting_title' : subscription . title , 'meeting_start_day' : meeting_datetime . strftime ( '%A' ) , 'meeting_start_date' : meeting_datetime . strftime ( '%m/%d/%Y' ) , 'meeting_start_time' : meeting_datetime . strftime ( '%I:%M %p %Z' ) , 'meeting_end_time' : meeting_datetime_end . strftime ( '%I:%M %p %Z' ) , 'calendar_invite_url' : create_google_calendar_invitation_link ( participants , subscription . title , subscription . office , subscription . location , meeting_datetime , meeting_datetime_end ) , 'project' : secrets [ "PROJECT" ] } )
short_docstring: Sends an email to one of the matches for the week
  user - user receiving the email
  participants - other people in the meeting
  meeting_spec - meeting specification
short_docstring_tokens: Sends an email to one of the matches for the week user - user receiving the email participants - other people in the meeting meeting_spec - meeting specification
comment: """
      Sends an email to one of the matches for the week
          user - user receiving the email
          participants - other people in the meeting
          meeting_spec - meeting specification
      """