parameters: (recipient)
docstring: Send an email based on a template.
  
      :param Recipient recipient: The recipient of the email
      pass to the email template.
docstring_summary: Send an email based on a template.
docstring_tokens: Send an email based on a template .
function: def add_user_to_contact_list(recipient):
      """
      Send an email based on a template.
  
      :param Recipient recipient: The recipient of the email
      pass to the email template.
      """
      data = [
                  {
                      "email": recipient
                  }
              ]
      response = sg.client.contactdb.recipients.post(request_body=data)
      print(response.status_code)
function_tokens: def add_user_to_contact_list ( recipient ) : data = [ { "email" : recipient } ] response = sg . client . contactdb . recipients . post ( request_body = data ) print ( response . status_code )