title: How to configure Microsoft Bot Framework with Office365 Email?
body: <p>I have developed a very simple bot I want to connect with my <a href="https://support.office.com/en-us/article/Learn-about-Office-365-groups-b565caa1-5c40-40ef-9915-60fdb2d97fa2" rel="nofollow noreferrer">Office 365 Group</a>.  Both are relatively new technologies so it's hard to find concrete information.</p>
  
  <p>After creating and uploading my bot, I click Add to enable on email channel.
  <a href="https://i.stack.imgur.com/h5fpM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h5fpM.png" alt="enter image description here"></a></p>
  
  <p>The Add screen then takes me to a "Configure Email" screen, which I'm not sure what to do about:
  <a href="https://i.stack.imgur.com/VFaRj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VFaRj.png" alt="enter image description here"></a></p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>How do I configure my Bot with an email channel?</li>
  <li>How would authentication work if I was to distribute this bot to other enterprises with their own Office365 service and active directory?</li>
  <li>Since the bot is located on Azure, will it need any kind of access to the client's active directory?</li>
  </ol>