Legal · Privacy Policy
Privacy Policy
- Who we are
- Our role: controller or processor
- Data we process
- How we use data
- Google user data
- Microsoft user data
- AI and model training
- Sharing and subprocessors
- Where data is stored
- Retention and deletion
- Security
- Legal bases (GDPR)
- Your rights and how to revoke access
- Cookies
- Children
- Changes to this policy
- Contact
1. Who we are
xRails (“xRails”, “we”, “us”) is operated by a private limited company registered in Estonia. Contact: privacy@xrails.dev.
xRails is an EU-hosted integration layer for software applications and AI agents. Businesses and developers that build on xRails (“Customers”) embed xRails in their own products. The people who use those products (“End Users”) can connect their own accounts at third-party services — for example Google, Microsoft, Slack, HubSpot, Merit Aktiva, or their bank through Enable Banking (“Connected Services”) — through the xRails hosted connect page. After an End User authorizes a connection, the Customer’s application or AI agent can ask xRails to read data from, or perform actions in, that Connected Service on the End User’s behalf.
This policy covers the xRails website (xrails.dev), the developer dashboard (app.xrails.dev), the API and MCP endpoints (api.xrails.dev), the hosted connect page and the embeddable connect widget (together, the “Service”).
2. Our role: controller or processor
- Customer account data (developer sign-up, billing, support, website visits): xRails is the controller.
- End User data processed on a Customer’s instructions (connections, tool calls requested by the Customer’s application or agent): xRails generally acts as a processor for the Customer, who is the controller and must give End Users its own privacy notice. Our Data Processing Terms apply.
- Credentials and data obtained through an OAuth application registered by xRails (where the consent screen shows “xRails”): xRails is responsible for that access towards the provider (e.g. Google, Microsoft) and End User, and handles that data strictly as described in this policy — including the Google Limited Use requirements in section 5 — regardless of the Customer’s instructions.
Where a Customer uses its own OAuth application (“bring your own app”), the Customer’s name appears on the provider’s consent screen and the Customer is responsible towards that provider; xRails still stores and uses the resulting credentials only as described here.
3. Data we process
| Category | Examples | Source |
|---|---|---|
| Customer account data | Name, work email, company name, sign-in data (managed by Amazon Cognito), settings, support messages, billing details if applicable | Customer |
| Developer API keys | Keys issued to Customers to call the xRails API (stored only as a one-way hash) | Generated by xRails |
| End User identifier | An identifier chosen by the Customer (user_id), optionally an alias. We recommend Customers use an opaque, non-personal ID | Customer |
| Connection credentials | OAuth access and refresh tokens, API keys or other credentials for a Connected Service, granted scopes, token expiry | End User, via the Connected Service |
| Connected account metadata | Name of the Connected Service, account email or ID shown on the connect page, connection status, created/updated time | Connected Service |
| Connected Service content (in transit) | The specific data a request needs, e.g. an email message, a calendar event, a file, an invoice or an account balance | Connected Service, at the request of the Customer’s application |
| Audit and security logs | Time, Customer, End User identifier, Connected Service, tool name, outcome, whether a write action was confirmed, IP address, user agent, error codes | Generated by xRails |
| Website and dashboard technical data | IP address, browser type, essential cookies | Your device |
Content we do not keep. Content returned by a Connected Service (e.g. message bodies, file contents, financial transactions) is processed in memory to fulfil the request and returned to the Customer’s application. xRails does not keep a copy of that content after the request is completed, except where an End User or Customer explicitly asks us to (for example a cached result they turn on), and except short-lived technical error logs, which are designed to exclude content and are deleted as stated in section 10.
4. How we use data
We use data only to provide the Service that the Customer and End User asked for:
- to show the connect page, let End Users authorize Connected Services, and store the resulting credentials securely;
- to execute the read or write operations (“tool calls”) that the Customer’s application or AI agent requests on behalf of the End User who authorized the connection, and return the result to that application;
- to refresh tokens, show connection status, and let End Users and Customers disconnect;
- to require and record explicit confirmation before write actions (such as sending an email, creating an event, deleting a file or issuing an invoice);
- to keep an audit log, prevent abuse, secure the Service, investigate errors, and comply with law;
- to manage Customer accounts, provide support, and send service and security notices.
We do not sell personal data, use it for advertising (including retargeting or interest-based ads), build user profiles for third parties, use it to determine creditworthiness or for lending, or use it for any purpose other than providing and securing the functionality the End User authorized.
5. Google user data
This section applies when an End User connects a Google account (for example Gmail, Google Calendar, Google Drive, Google Sheets, Google Docs or Google Contacts).
5.1 What we access
We request only the scopes needed for the features the End User chooses on the connect page, and use incremental authorization where possible. Depending on the integration, this may include:
| Google product | Data accessed | Why |
|---|---|---|
Basic profile (openid, email, profile) | Google account email, name, account ID | To identify which Google account is connected and show it to the End User |
| Gmail | Messages, threads, labels, drafts, attachments; ability to create drafts and send messages | So the Customer’s application or AI agent can search, read, summarize, draft, label or send email that the End User asks it to handle |
| Google Calendar | Calendars, events, free/busy information; ability to create, update or delete events | To read schedules, find free time and create or change events at the End User’s request |
| Google Drive, Docs, Sheets | File metadata and contents of files the End User selects or the scope allows; ability to create or update files | To find, read, create or update documents and spreadsheets at the End User’s request |
| Google Contacts (People API) | Contact names, email addresses and phone numbers | To look up recipients and contacts at the End User’s request |
5.2 How we use, store and share Google user data
- Use. Google user data is used only to provide or improve the user-facing features the End User authorized on the connect page — i.e. executing the requests the End User’s chosen application or AI agent makes on their behalf.
- Storage. We store only the OAuth tokens and account metadata, encrypted with AWS KMS, in the EU (AWS eu-north-1, Stockholm). Google content (email bodies, files, events) is not stored after the request completes.
- Transfer. Google user data is transferred only (a) to the Customer application the End User explicitly chose to connect on the connect page, in order to provide the features they requested; (b) to our infrastructure provider Amazon Web Services, solely to host the Service; (c) where necessary for security purposes, e.g. investigating abuse; (d) to comply with applicable law; or (e) as part of a merger, acquisition or sale of assets, only after obtaining the End User’s explicit prior consent.
- No ads, no sale. We never transfer or sell Google user data to advertising platforms, data brokers or information resellers, and never use it for serving ads, for retargeting, personalized or interest-based advertising, or to determine credit-worthiness or for lending purposes.
- No human reading. No xRails employee or contractor reads Google user data unless (a) the End User gives us affirmative agreement to view specific messages, files or other data (e.g. for a support request); (b) it is necessary for security purposes, such as investigating a bug or abuse; (c) it is necessary to comply with applicable law; or (d) the data is aggregated and anonymized and used for internal operations in accordance with applicable law.
- No AI training. We do not use Google user data — including data obtained through Google Workspace APIs — to develop, improve or train generalized or non-personalized artificial intelligence or machine-learning models.
- Deletion. When an End User disconnects a Google account (in the Customer application, on the connect page, or at myaccount.google.com/permissions), we revoke the token with Google where possible and delete it from our systems immediately.
Our contractors and any successors are bound by these same requirements.
6. Microsoft user data
When an End User connects a Microsoft account (for example Outlook mail, Outlook Calendar, OneDrive, SharePoint or Microsoft Teams via Microsoft Graph), we request only the delegated permissions needed for the features the End User chooses; the Microsoft consent screen lists them. We use that data only to execute the requests the End User authorized, store only encrypted tokens and account metadata in the EU, do not store content after the request, and handle it under the same rules as Google user data in section 5 (no sale, no ads, no human reading except as stated, no AI training). End Users can revoke access at any time in the Customer application, on the connect page, at account.live.com/consent/Manage (personal accounts) or myapps.microsoft.com (work or school accounts); organization administrators can revoke consent in Microsoft Entra ID.
7. AI agents and model training
xRails is not an AI model provider. Customers may connect xRails to AI agents or models they choose; in that case, the Customer — not xRails — decides which model receives the data returned from a tool call, and that processing is governed by the Customer’s own privacy notice. xRails itself does not use any data from Connected Services, End Users or Customers to train, fine-tune or improve AI or machine-learning models.
8. Sharing and subprocessors
We share data only:
- with the Customer application the End User connected, to deliver the results of requests it makes;
- with the Connected Service itself, when we send it a request on the End User’s behalf;
- with our subprocessors, listed below, solely to host and operate the Service;
- when required by law or a binding order of a competent authority, or to protect the security of the Service, End Users or others;
- in connection with a merger, acquisition or sale of assets, subject to this policy, and for Google user data only with the End User’s prior explicit consent.
| Subprocessor | Purpose | Location |
|---|---|---|
| Amazon Web Services EMEA SARL (AWS) | Cloud hosting, encryption keys (KMS), secrets storage, database, sign-in (Cognito), email delivery, logging | EU — Stockholm, Sweden (eu-north-1) |
| Zone Media OÜ | Hosting of the static public website xrails.dev and DNS (no End User credentials or Connected Service data) | EU — Estonia |
We will update this list and notify Customers in advance before adding a subprocessor that processes End User data.
9. Where data is stored
All End User credentials, connection data and audit logs are stored and processed in the European Union, in the AWS eu-north-1 region (Stockholm, Sweden). We do not intentionally transfer this data outside the EU/EEA. Requests to a Connected Service go to that service’s own infrastructure, which may be located outside the EU; that processing is governed by the Connected Service’s own terms and privacy policy. AWS is part of a US group; where remote access by AWS personnel outside the EEA could occur, it is covered by the EU Standard Contractual Clauses and the EU–US Data Privacy Framework.
10. Retention and deletion
| Data | Retention |
|---|---|
| OAuth tokens, API keys and other connection credentials | Until the End User or Customer disconnects the connection, the Connected Service revokes it, or the Customer account is closed — then deleted immediately |
| Connected account metadata | Deleted together with the connection |
| Connected Service content | Not stored after the request completes |
| Audit logs and technical/security logs | 90 days, then deleted automatically |
| Customer account data | For the life of the account, and deleted within 30 days after closure, except data we must keep by law (e.g. accounting records, 7 years under the Estonian Accounting Act) |
| Backups | Encrypted; deleted data is purged from backups within 35 days |
End Users may ask for deletion of all their data at any time by writing to privacy@xrails.dev; because Customers assign End User identifiers, we may ask the Customer to confirm the request.
11. Security
- Credentials are encrypted at rest using AWS Key Management Service and stored in AWS Secrets Manager and Amazon DynamoDB; all traffic uses TLS 1.2 or higher.
- Credentials are never returned to Customers or shown in the dashboard; the Customer application receives only the results of requests.
- Each Customer’s data is logically isolated; developer API keys are stored only as hashes.
- Access to production systems is limited to a small number of authorized personnel, protected by multi-factor authentication, and logged.
- Write actions require explicit confirmation, and every tool call is recorded in an audit log.
- We will notify affected Customers, and where required the supervisory authority and End Users, of a personal data breach without undue delay and in any case as required by GDPR.
12. Legal bases (GDPR)
- Performance of a contract (Art. 6(1)(b)) — providing the Service to Customers, and connecting accounts and executing requests the End User asked for.
- Consent (Art. 6(1)(a)) — the End User’s authorization on the connect page and the provider’s consent screen; it can be withdrawn at any time by disconnecting.
- Legitimate interests (Art. 6(1)(f)) — security, abuse prevention, audit logging and improving the reliability of the Service.
- Legal obligation (Art. 6(1)(c)) — accounting, tax and responding to lawful requests.
Where xRails acts as processor, the Customer determines the legal basis for its own processing.
13. Your rights and how to revoke access
Under the GDPR you have the right to access, rectify, erase, restrict and object to processing of your personal data, to data portability, and to withdraw consent at any time. To exercise them, email privacy@xrails.dev. If we process your data as a processor for a Customer, we will forward your request to that Customer and help them respond. We respond within one month.
To disconnect an account at any time: use the disconnect option in the application you connected, the xRails connect page, or the provider’s own settings (e.g. Google, Microsoft). Disconnecting stops all further access and deletes the stored credentials.
You may lodge a complaint with the Estonian Data Protection Inspectorate (Andmekaitse Inspektsioon, www.aki.ee, Tatari 39, 10134 Tallinn, info@aki.ee) or the supervisory authority where you live or work.
14. Cookies
We use only strictly necessary cookies and similar storage for sign-in sessions, security (e.g. CSRF protection) and to complete the connect flow. We do not use advertising or cross-site tracking cookies.
15. Children
The Service is intended for businesses and is not directed to children. We do not knowingly process data of children under 16. If you believe a child has connected an account, contact privacy@xrails.dev and we will delete it.
16. Changes to this policy
We may update this policy. We will post the new version here with a new “last updated” date and notify Customers of material changes in advance. If we want to use data obtained from a Connected Service in a new way or for a purpose not described here, we will first notify End Users and ask for their consent.
17. Contact
xRails, Estonia
Privacy and data protection: privacy@xrails.dev