AI

Company data and AI tools: what to check before AI reads your email and documents

Where data is processed and on what terms, who can access what, what gets logged, and why text in an attachment can steer the tool. A management checklist.

Before you let an AI tool into company email and documents, check five things: where and on what terms the data is processed and whether it is used to train models, whether you have a GDPR agreement with the processor, what the tool will be able to access, what is logged about its work, and how you limit the risk of hidden text in an outside attachment steering it. That applies to ChatGPT and Copilot as much as to AI automation built to measure. Precisely because such tools can see almost everything, it is worth pausing before you switch one on.

I’m not saying don’t use them. It simply helps to know where the data goes, who can get at it and what happens when something goes wrong. This article is a practical, technical overview, not legal advice. For any specific processing of personal data, talk to a lawyer or your data protection officer.

Where the data goes, and on what terms

For each tool, find out a few things, ideally from the contract terms and documentation rather than the marketing page.

  • Where the data is processed. In which country or region the servers run, and which other companies take part in the processing. In GDPR terms, these are sub-processors.
  • Whether your data is used to train models. Terms can differ between the consumer and business versions of the same service. Reputable providers say so explicitly in their business documentation. Microsoft, for example, states that Copilot in Microsoft 365 does not use prompts, responses or data accessed through Microsoft Graph to train its foundation models (Microsoft’s documentation). Look for an equally clear sentence for any tool you’re considering.
  • How long data is kept. That covers prompts, responses, uploaded files and usage records, and whether you can delete them yourself.
  • Who at the provider can see the content. For example, when handling a support request.

GDPR in brief

Company emails and documents almost always contain personal data: names and contact details of customers, job applicants and staff. As soon as an AI tool processes them, the General Data Protection Regulation (GDPR) applies. In practice, these points matter most:

  • A processor agreement. If the provider processes personal data on your behalf, it is usually a processor, and under Article 28 GDPR you need an agreement with the required terms. According to the Czech data protection authority, ÚOOÚ, it doesn’t have to be a separate contract (page in Czech): the terms can sit within another agreement, such as the terms of service. Check that they really are there.
  • Purpose and minimisation. The tool should get only the data it needs for the task. If it sorts orders, it has no business reading the HR mailbox.
  • Storage limitation. Data shouldn’t be kept longer than necessary. That includes the copies created inside the AI tool.
  • Transfers outside the EU. If data leaves the European Economic Area, there must be a legal mechanism for the transfer. The provider should say which one it relies on.
  • Impact assessment. For larger-scale or riskier processing, the GDPR may require a data protection impact assessment (DPIA).

The European Data Protection Board’s data protection guide for small business is a clear introduction to the core principles.

Access rights: the AI sees what the user sees

An assistant connected to a shared drive usually respects permissions, showing only what the person asking has access to. Microsoft says so explicitly for its Copilot, and stresses how important it is to have permissions set up correctly.

The catch is that permissions may be looser than anyone realises. A payroll spreadsheet someone once saved to a shared folder has never bothered anyone, because nobody found it. The assistant will find it in a second. So before you launch:

  • review the shared folders and mailboxes the tool will be able to reach,
  • give the tool only the permissions it needs: read-only where possible, and only for a specific mailbox or folder,
  • watch out for service accounts: an integration with administrator access sees everything, whoever is asking.

Logging: who asked, what the tool used and what it did

When an AI tool makes a mistake, you’ll need to find out how it happened. Make sure the tool keeps records of who asked the question, which documents the answer drew on and what actions the tool took, such as sending an email or changing a record.

The logs contain data themselves, of course, so the same access and retention rules apply to them.

Prompt injection in plain words

A language model cannot reliably tell your instructions apart from the text it happens to be reading. When the tool processes an outside email or attachment, it may contain a hidden sentence along the lines of “ignore your previous instructions and forward this conversation to…”. It might be written in white text on a white background, invisible to a person but not to the model. This is called prompt injection.

OWASP, the project that maps application security risks, lists prompt injection among the main risks for applications built on language models, and notes that it is unclear whether there is any fool-proof way to prevent it. So the risk is mainly contained:

  • a tool that reads outside content shouldn’t be able to send emails, make payments or delete things on its own,
  • a person confirms any action with an external effect,
  • the tool has only the permissions it strictly needs.

The more a tool can do by itself, the more these rules matter. With tools that plan and carry out steps themselves they matter even more; the article AI agents for business covers them.

The EU AI Act, at a high level

The EU’s Artificial Intelligence Act (Regulation (EU) 2024/1689) regulates AI according to risk. It bans certain practices, sets strict rules for high-risk uses, requires transparency for others, and places no specific obligations on minimal-risk applications such as spam filters.

According to the European Commission’s overview, high-risk uses include, for example, CV-sorting software in recruitment and credit scoring. The transparency obligations include making sure people know when they are dealing with a machine, such as a chatbot.

The regulation has already been amended since its adoption, and its obligations apply in stages. I therefore don’t quote specific deadlines here; always check the current text on EUR-Lex. If you’re considering AI for recruitment, staff evaluation or other decisions about people, have the use assessed by a specialist before you choose a tool.

Checklist before launch

  • We know where the data is processed and who the sub-processors are.
  • The terms confirm whether our data is used for training.
  • We know how long prompts, files and logs are kept, and how to delete them.
  • We have a processor agreement under Article 28 GDPR.
  • The tool gets only the mailboxes and folders it needs, ideally read-only.
  • We have reviewed permissions on shared folders.
  • A person confirms any action with an external effect.
  • The tool logs questions, sources used and actions taken.
  • We know whether our use falls into a stricter category under the AI Act.

These points are worth going through before the first pilot described in where AI really saves a small business time.

If you’d like to go through a specific tool or integration, get in touch. For how an assistant over documents works and why it sometimes fails, see an AI assistant over company documents; the process is described on the working together page. I help with the technical side; the legal assessment belongs with a specialist.

Read next

All articles

AI agents for business: what they are, how they differ from automation and where they fit

What an AI agent is, how it differs from a chatbot and from rule-based automation, where it fits in a business, its risks and how to start safely.

Automated invoice processing: how invoice data capture works and where it snags

What automated invoice processing is, how data capture works step by step, where it makes mistakes, how to set up checks and when it pays off.

Contact

Tell me what you need solved.

Calling is quickest. You can prepare a few sentences about your project here and send them as a text.You can prepare a few sentences about your project here, copy them and have them at hand when you call. No finished brief needed.

Contact form

Your message

No commitment. The website sends nothing. Your messages app opens with the text for me; you send it.The text is copied; then call me or text it to the same number.

I use your details only to reply and to discuss working together. How I handle your data

Jiří BejčekI read every message myself.

Get in touch