> For the complete documentation index, see [llms.txt](https://docs.nexthink.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexthink.com/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet/microsoft-outlook-connector-thinklet.md).

# Microsoft Outlookコネクターシンクレット

Microsoft Outlook コネクタ thinklets を設定し、ワークフロー内で特定の操作を実行する；

{% hint style="info" %}
Microsoftのドキュメンテーションの[権限](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0\&tabs=http#permissions)のセクションを参照して、必要な権限を確認してください。
{% endhint %}

## アクション: 1名の受信者にメールを送信する <a href="#microsoftoutlookconnectorthinklet-action-sendanemailtoonerecipient" id="microsoftoutlookconnectorthinklet-action-sendanemailtoonerecipient"></a>

1名の受信者にメールを送信する」では、組織のMicrosoft Graphテナントに属するメールアドレスから1名の受信者にメールを送信します。受取人のメールアドレスは、組織内外の誰にでも属することができます。

Microsoft OutlookコネクタThinkletは、Microsoft Graphが提供する[user: sendMail](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0\&tabs=http) APIエンドポイントに依存しています。

<figure><img src="https://3549141153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLm8O7QKZDn6z806e7Sv%2Fuploads%2Fgit-blob-7eb267901795b4c6a95ff6c39ab70968ff237ab8%2Fimage-20240521-085355.png?alt=media&amp;token=42f709ff-1200-4b35-9a1e-2bb094ed3305" alt="image-20240521-085355.png" width="479"><figcaption></figcaption></figure>

* パラメータ: このアクションに使用されるデータを設定します。ツールチップアイコンにマウスを合わせると、パラメータがどのようにマッピングされているか、およびどのデータが必要かについての詳細情報が表示されます。
  * メール件名: プレーンテキストでのメールの件名。
  * メールコンテンツタイプ: メールのコンテンツタイプ。メールテキストタイプに応じて**テキスト**または**html**に設定します。
  * メールテキスト: メールのコンテンツタイプ設定に応じて、HTML形式またはプレーンテキストのメールテキスト。
  * メール送信者アドレス: メールが送信されるメールアドレス。これは、組織のMicrosoft Graph APIの範囲内でなければなりません。
  * メール受信者アドレス: 有効なメールアドレスならどれでも使用可能。
* 出力
  * このThinkletコネクタは出力を持ちません。

以下のテーブルは、コネクタを再作成する際に必要な API サービスコネクタの詳細を示しています；

<table><thead><tr><th width="272">フィールド</th><th>値</th><th data-hidden></th></tr></thead><tbody><tr><td>リソースパス</td><td><code>/users/{{EmailSender}}/sendMail</code></td><td></td></tr><tr><td>メソッド</td><td>POST</td><td></td></tr><tr><td>ペイロード</td><td></td><td></td></tr><tr><td>出力</td><td><code>{ "message": { "subject": "{{EmailSubject}}", "body": { "contentType": "{{EmailContentType}}", "content": "{{EmailText}}" }, "toRecipients": [ { "emailAddress": { "address": "{{EmailRecipient}}" } } ] }, "saveToSentItems": "false"}</code></td><td></td></tr></tbody></table>

## アクション: 2名の受信者にメールを送信する <a href="#microsoftoutlookconnectorthinklet-action-sendanemailtotworecipients" id="microsoftoutlookconnectorthinklet-action-sendanemailtotworecipients"></a>

2名の受信者にメールを送信する」では、自社のMicrosoft Graphテナントに属するメールアドレスから2名の受信者にメールを送信します。受取人のメールアドレスは、組織内外の誰にでも属することができます。

Microsoft OutlookコネクタThinkletは、Microsoft Graphが提供する[user: sendMail](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0\&tabs=http) APIエンドポイントに依存しています。

<figure><img src="https://3549141153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLm8O7QKZDn6z806e7Sv%2Fuploads%2Fgit-blob-a0326cf840ceec4ab5fa7866611bebab295af77d%2Fimage-20240521-085428.png?alt=media&amp;token=994cea9c-03f4-4b28-bae1-56e8990d84f4" alt="image-20240521-085428.png" width="462"><figcaption></figcaption></figure>

* パラメータ: このアクションに使用されるデータを設定します。ツールチップアイコンにマウスを合わせると、パラメーターがどのようにマッピングされているか、およびどのデータが必要かについての詳細情報が表示されます。
  * メール件名: プレーンテキストでのメールの件名。
  * メールコンテンツタイプ: メールのコンテンツタイプ。メールテキストタイプに応じて**テキスト**または**html**に設定します。
  * メールテキスト: メールのコンテンツタイプ設定に応じて、HTML形式またはプレーンテキストのメールテキスト。
  * メール送信者アドレス: メールが送信されるメールアドレス。これは、組織のMicrosoft Graph APIの範囲内でなければなりません。
  * 最初のメール受信者アドレス: 有効なメールアドレスならどれでも使用可能。
    * 2人目のメール受信者アドレス: 有効なメールアドレスならどれでも使用可能。
* 出力
  * このThinkletコネクタは出力を持ちません。

以下のテーブルは、コネクタを再作成する際に必要な API サービスコネクタの詳細を示しています；

<table><thead><tr><th width="272">フィールド</th><th>値</th><th data-hidden></th></tr></thead><tbody><tr><td>リソースパス</td><td><code>/users/{{EmailSender}}/sendMail</code></td><td></td></tr><tr><td>メソッド</td><td>POST</td><td></td></tr><tr><td>ペイロード</td><td></td><td></td></tr><tr><td>出力</td><td><code>{ "message": { "subject": "{{EmailSubject}}", "body": { "contentType": "{{EmailContentType}}", "content": "{{EmailText}}" }, "toRecipients": [ { "emailAddress": { "address": "{{EmailRecipient1}}" } }, { "emailAddress": { "address": "{{EmailRecipient2}}" } } ] }, "saveToSentItems": "false" }</code></td><td></td></tr></tbody></table>

コネクタThinkletの詳細については、[コネクタThinkletの設定](/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet.md) ドキュメンテーションを参照してください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexthink.com/platform/ja/user-guide/workflows/creating-workflows/configuring-connector-thinklet/microsoft-outlook-connector-thinklet.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
