AI email automation: five flows for your shared inbox
By Jacob Slot · Published
AI email automation works best on four things in a shared inbox: sorting what comes in, pulling data out of attachments and orders, drafting the replies that look alike, and remembering the follow-up. Sending the reply that matters to a customer stays with a person, and that is a choice you should make on purpose, not a limitation of the technology.
That is the short answer. The rest covers what Outlook and Gmail can already do, what needs something built on Microsoft Graph or the Gmail API, and where most attempts stall.
One thing needs to be clear first: this is about the inbox coming in, not the campaigns going out. Almost all Danish content on email automation is about newsletters and customer flows. We are writing about info@, sales@ and accounting@, where a person today reads, judges, retypes and replies.
AI email automation: the short answer
There are three levels, and they cost very different amounts. Most small and mid-sized companies need level two but get sold level three.
| Level | What it is | Time to live | Suited for |
|---|---|---|---|
| 1: The mailbox's own features | Rules, categories, templates, auto-replies, Copilot or Gemini in the interface | Hours | Everyone. Always start here |
| 2: Ready-made tools | Shared inbox, helpdesk, Power Automate, n8n with standard steps | Days | Known flows between known systems |
| 3: Built on the API | Your own classification, your own fields, your own rules for what may be sent | Weeks | What no app covers |
Levels one and two are rule-based automation, and that is fine. A rule that moves every invoice from the same supplier into the same folder does not need a language model.
AI only becomes relevant when something has to be interpreted: an order written in free text, an attachment with lines that must be read, an enquiry that could be either a quote request or a complaint, a company name that is spelled slightly differently in the email than in your system. These tasks involve judgment, and rules handle them badly.
The context is worth knowing. 42 percent of Danish companies with at least 10 employees used artificial intelligence in 2025, according to the Danish Agency for Digital Government's fact sheet. Among those with 10 to 49 employees, the share rose from 10 percent in 2023 to 37 percent in 2025. Most are under way, then. Almost none have it connected to the inbox where the work actually lands.
What Outlook and Gmail can do before you build anything
The cheapest project is the one you never start. Both mailboxes have more built in than most people use: rules on sender, subject and attachment, categories and folders, templates for the replies that recur, shared mailboxes with ownership per email, and auto-replies that set the expectation for response time.
On top of that sit the built-in assistants. Microsoft 365 Copilot costs 194 kr. per user per month on annual billing, excluding VAT, according to Microsoft's Danish pricing page. It can summarize a long thread, suggest a reply and find the email you cannot remember where you put. For a company of five people who each lose half an hour a day in the inbox, it is often the right first purchase.
Ask yourself three questions before moving on to something built:
- Is there a rule, a category or a template that covers most of the task?
- Is the rest something a person can handle in under an hour a week?
- Can the process be changed so the need disappears? A form instead of an email removes all the interpretation.
If the answer to any of them is yes, stop there.
The limit of the built-in assistants, on the other hand, is sharp: they help the person in the mailbox. They do not create the case in your CRM, they do not post the invoice, and they do not notice that a quote from ten days ago still has no reply.
Five flows we build on top of the mailbox
These are the five that most often pay for themselves. All five have a human as the last link.
Sorting and prioritizing. Every new email in the shared inbox is read by a model that sets type, urgency and owner: quote request, support, invoice, supplier, spam or something to escalate. It puts the email in the right folder and notifies the right person. That alone removes the morning routine where two people go through the same 60 emails.
Extracting data from attachments and orders. An order in free text or a PDF attachment becomes lines with item number, quantity and price. This is the automation that saves the most measurable time in a small company, because it removes keying work from a person who costs more than their keying work. We have described the patterns and the three types of data entry in the guide to automating data entry.
Draft replies. The 20 emails a week that look alike get a draft written from your earlier replies and your own prices and terms. The draft sits in the Drafts folder. A person edits and sends. It is the only sensible order until you know the error rate.
Follow-up that does not get forgotten. The flow watches threads without a reply: quotes that were not followed up, customers who were promised something, suppliers who owe a confirmation. Once a day a short list goes to the person responsible.
Creating it in the right system. The last link is what makes the difference: the case, the customer or the invoice is created where it belongs. Here the receiving system decides what can be built, and we have covered the accounting end in the guide to AI for e-conomic integration. An agent that reads emails and creates the case without anyone keying it in is exactly what we build as AI agents.
If the customer needs an answer right away without writing an email, a Danish customer service chatbot is what you should look at, not an inbox flow. The two solve different problems, and they can sit side by side.
The APIs behind AI email automation
This is where it gets technical, and it is where almost every article on the subject stops. The two big mailboxes each have their own way of measuring how much you may use them, and that decides how the flow must be built.
Microsoft 365: Graph sets the ceiling per mailbox
The Outlook part of Microsoft Graph measures per combination of app and mailbox. The ceiling is 10,000 calls within 10 minutes, and an app may only have 4 concurrent calls against the same mailbox. If you hit it, the API answers 429 with a Retry-After header, and the limits are laid out in Microsoft's documentation on throttling.
In practice this means a flow should not ask the mailbox every minute whether something new has arrived. Microsoft Graph offers subscriptions, so the system itself tells you when an email lands.
Google Workspace: Gmail counts in quota units
The Gmail API does not count calls but quota units, where each method costs a different amount depending on its weight. Creating a draft costs 10 units. Fetching a whole thread costs 40, and 120 if you fetch it in full format. The price per method is listed in Google's quota overview for Gmail.
The difference is worth understanding, because it moves where you need to be frugal. A flow that fetches every thread in full format to find out whether it is relevant burns quota on reading emails it should have filtered out on subject and sender first.
The shared conclusion for both platforms: build on events, not on polling. And sort roughly and cheaply before you let a model read anything.
Tone is the hard part, not the technology
A draft that does not sound like you gets rewritten by hand. Then you have paid for a flow and saved zero minutes. It is the mistake we see most often, and it is not a technical one.
What works is giving the model your actual replies to work from. We usually start with 30 to 50 real emails from the categories that are to be automated and go through them together with the person who normally replies. Three things come out of it: the fixed phrasings that must be used word for word, the things that must never appear in an email, and the way you sign off.
Three rules keep the tone in place in daily use:
- Fixed sender and fixed sign-off. No model should invent a greeting.
- No numbers without a source. Prices, delivery times and terms come from the system, not from the model's memory. It is the single most important rule in the whole setup.
- A draft is a draft. It sits in Drafts, never in Sent.
If a category goes wrong three times in a row, we take it out of the flow instead of tweaking the wording for a week.
Where the line goes: GDPR and what you must approve yourself
Four limits are worth knowing before you decide anything.
Emails are full of personal data. Names, phone numbers, addresses, account details, health information at a clinic. If you send the content to a language model, that is processing which must be explainable, appear in your record of processing activities and be covered by an agreement with the vendor. We work with data minimization as the starting point: only the fields the task requires, and a model in the EU where that is possible.
A person sends what matters. A model may write the draft to a customer. It should not send it. A wrong email costs a relationship, and that cost does not show up in any spreadsheet.
An auto-reply is not a reply. An auto-reply that sounds like a real answer but is not one is worse than nothing. Make it clear what is the machine and when a person looks at it.
Sorting may fail. Deleting may not. If an email lands in the wrong folder, it costs a minute. If it is archived as spam, it may be gone for good. We never build a flow that deletes or permanently archives anything on its own.
What does AI email automation cost?
A defined flow, meaning one of the five above, starts with us from $1,500 as a one-time payment. If we also look after it on an ongoing basis and keep building, it is from $750/month. You own the code and the documentation, so you can take it with you if you want something different.
The calculation you should make is not price against price. It is price against hours. A team that spends 15 hours a week reading, keying and reminding each other of things spends more than half a position on it. A full-time hire costs 25,000+ kr. a month and does it every month. A flow is built once.
Key numbers
15 hours
we typically find per customer each week
20,000 DKK
saved per month at Markeity on systems built once
53
automations in operation
You can run your own hours through our ROI calculator, and see who builds it if you want to know who you are dealing with. From audit to live operation is typically around 3 weeks, and the effect should be measurable within 90 days. If advisory is part of the project, SMV:Digital covers 50 percent of the advisory cost, up to 150,000 kr.
When does it not pay off? When the inbox gets fewer than ten relevant emails a day, when every email is different, or when the person who replies is also the one who has to make the decision. Then you are faster with a template and a rule.
FAQ
How do I use AI in Outlook?
You use AI in Outlook in two ways. The built-in one is Microsoft 365 Copilot, which you switch on through the license and use directly in the mailbox to summarize threads and suggest replies. The other is a flow built on top of Microsoft Graph that works on the mailbox without anyone opening it: it sorts, extracts data and creates the case in another system.
How do I automate data extraction from email?
You set up a flow that triggers on a new email, reads the text and the attachment, and writes the fields you need into the system they belong in. For fixed layouts from a known sender, rules and templates do the job. For orders in free text or attachments in many formats, you need a model to interpret the content.
Is Microsoft 365 Copilot free?
No. Microsoft 365 Copilot for business costs 194 kr. per user per month on annual billing, excluding VAT, according to Microsoft's pricing page. Some AI features in Office are free for all users, but the version that works across your emails, files and calendar is a paid license.
Is it okay to let AI write emails to customers?
Yes, if a person reads them through and sends them. The customer does not care how the draft came about, but does care that the answer is right. The problem arises when the model sends by itself, or when it invents a price or a delivery time. Always pull numbers and terms from the system instead of from the model.
What is the difference between email automation and marketing automation?
Marketing automation sends emails out to many people: newsletters, campaigns and flows triggered by behavior on the website. Email automation in the sense this article uses is about the emails that come into a shared inbox, and about getting them sorted, answered and passed on into your systems. They are two different tools and two different budgets.
AI email automation is not a question of how well the model writes. It is a question of which emails you dare let it touch, and which replies you will keep sending yourself.