Teacher's edition · about 80 minutes

Let Claude send email without asking, for approved people only

Learn it once here, then teach it. First the basics, then the build by hand, then the same build with AI doing the clicking.

The project in five sentences

  1. The company's Claude already has the built-in Microsoft 365 connector. It can send email, but Claude stops and asks "may I send this?" every time.
  2. A few people want Claude to send without that stop.
  3. We do not touch the built-in connector. Everyone keeps it, with the asking.
  4. We add a second connector. It is a small program we host on Azure. It has one job: send an email through Microsoft Graph.
  5. Only approved people can use it, and it can only send from approved mailboxes.
Claude "send this email" Built-in connector Microsoft 365 · for everyone Our MCP server Azure App Service · B1 Microsoft Graph Exchange Online mailboxes asks every time sends as the signed-in person no asking 1 Who approved people only 2 Which mailbox approved mailboxes only 3 The switch Always allow · this tool
Two separate paths. The top one stays as it is. The blue one is what we build, with three controls on it.
Lock 1 · Who

Microsoft sign-in decides who can connect. Not on the list means no sign-in.

Lock 2 · Which mailbox

Exchange lets our program send only from mailboxes we tagged. Our program keeps its own list too.

3 · The switch

In Claude, the Owner sets this one tool to "Always allow". That is what removes the asking.

The one idea to keep

Claude's approval prompt is a human safety check. We remove it on purpose, so the locks and limits have to do its job.

Do we even need to build it? checked Dec 2, 2026

Know this before the client asks.

  • Since Nov 9, 2026 an Owner can set the built-in connector's send tool to "Always allow".
  • On Claude Enterprise, roles can give that to one group while everyone else stays on "Needs approval". So part of this may need no code.
  • Reasons to still build: the plan is Team (no roles), they need to send from a shared mailbox (the built-in one sends only as the signed-in person), or they want their own limits and their own log.

Sources: Microsoft 365 connector · roles on Enterprise