# Office 365 Email Integration

**URL:** <https://discourse.nodered.org/t/office-365-email-integration/2732>\
**Category:** Share Your Projects\
**Created:** [31 August 2018 17:13 UTC](https://discourse.nodered.org/t/office-365-email-integration/2732 "2018-08-31T17:13:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [31 August 2018 17:13 UTC](https://discourse.nodered.org/t/office-365-email-integration/2732/1 "2018-08-31T17:13:20Z")

</div>

Just a quicky - something I've only just learned.

If you use Office 365 for email, you may be interested to know that it supports webhooks. Previously I thought these only worked for "Office Groups" or "Teams" but they actually work for individual mailboxes.

So it is really easy to set up an integration between Node-RED and your O365 mailbox.

What's more, the webhooks have the ability to define actions on the resulting item that appears in your inbox. These can capture information from the user and then link back out to other services.

Say, for example, that you wanted to automatically raise a Trello card based on some event (managed by Node-RED) but needed some information from a person before doing it. You could send the action card to a mailbox, the user of the mailbox could add the needed information and then use the Outlook Online to Trello connector to create the card.

Obviously, if you have a connection back into Node-RED, you could use cards to notify users, collect some data or select an action and then trigger a flow in Node-RED.

The information on Actionable messages is here:

> **[What are actionable messages in Office 365? - Outlook Developer](https://docs.microsoft.com/en-gb/outlook/actionable-messages/)**
>
> Actionable Messages enable you to take quick actions right from within Outlook.

Webhooks currently only support the legacy format, the details for that are here:

> **[Legacy actionable message card reference - Outlook Developer](https://docs.microsoft.com/en-gb/outlook/actionable-messages/message-card-reference)**
>
> Learn about the available fields for actionable message cards and design guidelines for creating an effective card.

* * *

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/5da0f0587afdce4eb8c17e22fa96a9bc27c4ba35.png)

---

<div class="post-metadata">

**Author:** ![leyers](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@leyers](https://discourse.nodered.org/u/leyers)\
**Post date:** [3 September 2020 19:58 UTC](https://discourse.nodered.org/t/office-365-email-integration/2732/2 "2020-09-03T19:58:33Z")

</div>

Hello, really nice stuff to play with, do you have a working example for this? As I'm already building some Adaptive Cards from templates through Node-Red, the only missing link is to send out the generated cards by email.

Many thanks!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [3 September 2020 20:59 UTC](https://discourse.nodered.org/t/office-365-email-integration/2732/3 "2020-09-03T20:59:59Z")

</div>

Welcome to the community.

Have you looked at the capabilities of the stadard e-mail node, [node-red-node-email](https://flows.nodered.org/node/node-red-node-email)?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [3 September 2020 23:12 UTC](https://discourse.nodered.org/t/office-365-email-integration/2732/4 "2020-09-03T23:12:09Z")

</div>

I'm afraid I don't have a ready-made example as I'm not using them for myself. However, you can use the webhook connector for Outlook or Teams and connect to that from Node-RED using an http-request node.

The alternative is, as Colin states, using Node-RED to send an email containing the card.
