def resource_node(element, resources):
for attendee in resources:<EOL><INDENT>element.append(<EOL>T.Attendee(<EOL>T.Mailbox(<EOL>T.EmailAddress(attendee.email)<EOL>)<EOL>)<EOL>)<EOL><DEDENT>return element<EOL>
Helper function to generate a person/conference room node from an email address

<t:OptionalAttendees>
  <t:Attendee>
      <t:Mailbox>
          <t:EmailAddress>{{ attendee_email }}</t:EmailAddress>
      </t:Mailbox>
  </t:Attendee>
</t:OptionalAttendees>