code: def get_recipients(self, name):
          
          to_str = self.render_string(self.data[name])
          formatted_emails = [
              email.utils.formataddr(addr_pair)
              for addr_pair in email.utils.getaddresses([to_str])
          ]
          return [i for i in formatted_emails if i]
docs: For example get_recipients('to')