task icon Task

Extract Profile From Gmail

Instructions
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
5

Analyze discovery results and writing samples for user facts.

Read existing uiUser Profile files first. Merge new findings with existing content - don't overwrite facts from other sources.

Write to whichever files are appropriate based on what you discover:

  • personal.md: location, family, pets, birthday, social accounts
  • work.md: work domain, industry
  • interests.md: hobbies, topics, platforms
  • goals.md: if any emerge

Add source attribution like 'From Gmail discovery:' to new facts. Be specific but don't overfit.

6

Briefly confirm: 'Saved insights to your user profile.'

                    You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. [Read Gmail Profile Extraction Guidelines]: Read the documentation in: `./skills/sauna/[skill_id]/references/gmail.discovery.extraction.md` (Guidelines for what to extract from each data source)

2. [Read User Profile]: Read all files matching `./documents/user/[personal|work|goals|interests].md` and analyze their contents (Existing profile to merge with)

3. [Read Gmail Profile Analysis]: Read the file at `./documents/tmp/gmail-profile-analysis.json` and analyze its contents (Contains discovery section with emails grouped by search category)

4. [Read Writing Samples]: Read the file at `./documents/tmp/writing-samples.json` and analyze its contents (Contains sent email content for work domain and interests extraction)

5. Analyze discovery results and writing samples for user facts.

Read existing `./documents/user/[personal|work|goals|interests].md` files first. Merge new findings with existing content - don't overwrite facts from other sources.

Write to whichever files are appropriate based on what you discover:
- personal.md: location, family, pets, birthday, social accounts
- work.md: work domain, industry
- interests.md: hobbies, topics, platforms
- goals.md: if any emerge

Add source attribution like 'From Gmail discovery:' to new facts. Be specific but don't overfit.


6. Briefly confirm: 'Saved insights to your user profile.'