Menu

Use AI to Rebuild Your Travel History From Your Inbox

Years of flights and hotel bookings are already in your email. An AI assistant can turn them into a trip list in a few minutes, and AtlasDays imports the result.

Last verified: November 2026

Connect an AI assistant to your mailbox, paste the prompt below, and it returns a file with one row per country stay. Import that file into AtlasDays, check the preview, and your past trips are on your Timeline and your map. Importing is free.

On this page

How it works

  1. Open an assistant that can read your email. Gemini works inside Gmail, and ChatGPT and Claude can connect to a mailbox from their settings. If you would rather not connect anything, see the paste method below.
  2. Paste the prompt. It tells the assistant what to search for, how to handle changed and cancelled bookings, and the exact file format AtlasDays reads.
  3. Answer its questions. A good assistant asks before guessing: whether you took a rebooked flight, or how you left a country it has no departure for.
  4. Save the file. The assistant returns atlasdays.csv, or a block of text to save under that name.
  5. Import it. In AtlasDays, open Settings → Import → CSV File and choose the file. AtlasDays shows every trip it found, marks duplicates and overlaps, and saves nothing until you tap Import.

The prompt

Copy all of it. Change the first line if you want a different period.

Search my email for every trip abroad I took since January 2016 and build my travel history.

SEARCH
Look for flight, train, ferry and bus tickets, boarding passes, hotel and apartment bookings, car rentals, and e-visa or travel authorization approvals. Follow each booking through later changes: use the final itinerary, and ignore bookings that were cancelled or refunded.

BUILD
One row per stay in a country, in date order. A trip through three countries is three rows. Arrival is the local date I landed or crossed the border, not the date I booked or took off. Departure is the local date I left. If I only changed planes and did not leave the airport, add the row with the purpose Transit.

FORMAT
Return a CSV file named atlasdays.csv with exactly this header:
Country,State,Start Date,End Date,Purpose,Notes
- Country: English name or 2-letter code.
- State: United States stays only, as a postal code such as NY. Otherwise empty.
- Start Date and End Date: yyyy-mm-dd. If only the year is known, put the 4-digit year in Start Date and leave End Date empty.
- Purpose: Personal, Business, Study or Transit, or empty.
- Notes: what the dates are based on, for example "flight confirmation, hotel invoice". Wrap in double quotes if it contains a comma.

RULES
Do not invent dates. If an arrival or departure is missing, or two emails disagree, ask me before you write the row. Leave out my home country. Before the file, list the trips you are unsure about and why. If you cannot create a file, put the CSV in one code block and nothing else.

What to check before you import

The assistant reads bookings, and a booking is a plan. These are the places where plans and travel differ, and where the AtlasDays preview is worth a minute.

Rows marked Duplicate are skipped, and rows that overlap a trip in another country are flagged so you can compare the dates. The CSV Import guide explains each label.

Privacy: what you are sharing, and with whom

This method is fast because the assistant reads your email. Decide with that in mind.

Without connecting your mailbox

You can keep the assistant out of your inbox and still skip the typing. Search your mail for "booking confirmation", "itinerary" and "boarding pass", then paste the relevant messages or attach the PDFs to the same prompt. The assistant then sees only what you gave it. Remove passport numbers and payment details first.

The same prompt works on other sources: an airline's flight history page, a spreadsheet from another travel app, or photos of passport stamps. AtlasDays keeps a version of it under Settings → Import → CSV File → Build CSV with AI.

When the dates have to hold up

For a map and a record of where you have been, the imported history is enough. For a visa or citizenship application, treat it as your working draft: confirm the dates that matter against official entry and exit records, and see what each form asks for.

Import your travel history for free

AtlasDays turns the file into a Timeline, a map of every country you have visited, and day counts for visa and residency limits.

Get the app

FAQ

Which AI assistant should I use?

Any assistant that can search your mailbox and return a file. Gemini is the shortest route for Gmail. ChatGPT and Claude work once you connect a mailbox in their settings. The prompt is the same for all of them.

How accurate is the result?

Dates taken from a final ticket are usually right. The common mistakes are cancelled trips that still appear and travel that left no email. The AtlasDays preview lists every row before anything is saved, so you can correct or leave out a trip.

Does AtlasDays read my email?

No. AtlasDays only reads the CSV file you choose, on your device. The email search happens in the assistant you picked, under that provider's privacy policy.

Is importing free?

Yes. CSV Import is part of the free version of AtlasDays, with no limit on the number of trips.

About this article: AtlasDays provides general information, not legal, tax, or immigration advice. Rules change and outcomes depend on your circumstances, so never rely on it alone: check the linked official source or ask a qualified professional.