Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
Whole-mailbox extraction from a single source
Use this playbook for Gmail or another mailbox, including when it is the only available source. Mail is a core record of the user's professional context, not merely a writing sample. Received and sent correspondence together can reveal companies, products, responsibilities, collaborators, customers, client work, milestones, and career developments, as well as behavior and preferences.
Do not equate one connector with one observation. Use all relevant accessible material within the authorized scope; another platform is optional enrichment.
Choose the lifecycle before querying
For initial extraction, use the broad discovery steps below: investigate current and parallel work, relevant history, and the five profile modules across participants and message types. The first profile should be useful without waiting for future corrections. Do not mistake a mailbox limited to one source for a reason to produce a thin profile.
For an existing profile's routine update, follow Incremental updates. Start with newly received, sent, or changed material since the source's last successful scan, using actual supported connector filters or change feeds. Open older parts of related threads only when needed to interpret a new development. Whole-mailbox eligibility still applies to message types, but does not mean rereading the whole mailbox every day. Do not follow the broad historical exploration steps on every update.
Use a source-level scan boundary when available, not the profile file's edit time. If no reliable boundary exists, use a disclosed bounded recent window appropriate to the requested cadence, with overlap where supported, and establish a boundary after successful review. Source limitations may prevent detecting every edit to old material; state them without claiming exhaustive synchronization. No new useful information means no profile-prose change, and does not trigger a wider historical search by itself.
1. Establish scope and coverage
- Resolve whose mailbox it is and any attributable aliases without retaining account addresses. A shared mailbox does not make every outgoing message the user's prose.
- Use actual connector capabilities for search, threads, messages, pagination, and attachment previews. Do not invent query syntax or assume a Sent-only tool represents the entire mailbox.
- Include received and sent messages, inbox and archived conversations, and relevant accessible folders. Sent is one pathway, especially for writing, not the universal starting point or eligibility requirement.
- Follow explicit user scope limits. Within the default mailbox scope, only advertising and spam are categorical exclusions. Do not automatically exclude all newsletters, social updates, automated notifications, receipts, HR, recruitment, invitations, or messages merely because they are incoming. Classify content by purpose and relevance, not sender type alone. A promotion tab is not proof that every item is an advertisement.
- Inspect relevant non-promotional automated messages: assignments, release and account notices, project notifications, contracts, recruiting developments, and other operational records may provide useful context. A receipt alone does not establish who used an item or whether they prefer it.
- Read relevant attachments transiently when accessible and authorized. A client document can establish engagement context even when written by somebody else. Do not create raw local exports or save copied attachments; use available content readers. If only a persistent download is possible, use other available material and state the limit rather than silently retaining raw data.
- Do not automatically follow outside links or request new accounts. Use available mailbox content first.
2. Reconstruct current work and life context
Begin with a varied sample of relevant conversations, regardless of who wrote them. Read the meaningful exchange across participants, including relevant accessible attachments and notifications, rather than extracting only the subject's turns. Search results and subjects are discovery aids, not automatic conclusions. A lack of sent mail or self-descriptions does not prevent substantial reconstruction from incoming material.
Combine complementary pieces: an organizational record may establish affiliation, a project discussion may explain the product and assigned remit, a collaborator's follow-up may document a decision or handoff, and a subsequent confirmation may establish progress. Resolve each connection and status from the content. The person need not personally state all these facts. Where relevant, apply the same approach to non-work commitments and practical circumstances instead of assuming every mailbox is primarily professional.
Look for connected pieces of the subject's present situation:
- Organizations and role: employment or collaboration context, role scope, responsibility changes, teams, and professional self-descriptions.
- Products and projects: what each does, how they relate, the user's involvement, ownership, dependencies, and meaningful stage or milestone.
- People and relationships: named collaborators, team responsibilities, customer/client counterparts, and the purpose of repeated professional interactions.
- Customers and outreach: target segments, actual customers versus prospects, outreach purposes, and which products or services serve them.
- External client work: engagement purpose, the user's role, delivery scope, and project status where documented.
- Career context: meaningful opportunities, changes in responsibilities, transitions, or ongoing professional activity, with the actual known status.
- Life and current attention: supported non-work commitments, learning, recurring interests, personal projects, practical circumstances, and goals or choices currently being pursued. Read relevant correspondence and records across participants; distinguish active engagement from advertising, exposure, invitations, or isolated transactions. Do not infer private feelings or manufacture life details to balance a work-heavy source.
Group the resulting understanding by company, with the main current work and other active parallel commitments before earlier roles. Bring each company's products, people, clients, and progress together rather than scattering them across unrelated lists. Use Company-centered current work for resolving current status and adding a small amount of verified public company background. Mail establishes the subject's actual participation; a public company description does not.
Join facts only when the connection is supported. Similar names, domains, recurring recipients, or dates alone do not prove that two people or projects are the same. Keep multiple concurrent products and roles separate when needed.
Expand from recent relevant material to older context when useful for history, role changes, independent behavior examples, or uncovered facets. Continue through relevant result pages; diversify searches rather than repeatedly reading the same busy thread. Search concepts in the mailbox's actual languages, using names/topics discovered from content. Do not impose a fixed lookback period, message count, or extraction count.
Before drafting, connect the current product to its company where supported and separate the documented job title from practical activities. Read the relationship and responsibility review in Company-centered current work. Use Concrete working practices to connect operational records into an account of initiation, rhythm, decisions, collaboration, assistance, and follow-through. Inspect method changes and differences across active commitments when relevant; do not infer review or personal work sessions solely from addresses or timestamps. Template text can establish work context without establishing the subject's natural writing style.
3. Match each claim to the right evidence
| Module | Look in both received and sent mail for | What the claim requires |
|---|---|---|
| Background | Organizations, product descriptions, assignments, collaborator roles, customer/client discussions, contracts, HR or recruitment developments, operational milestones, introductions, and relevant attachments | A clear documented relationship or fact. Distinguish an assigned remit from a completed action, a prospect from a client, an offer from acceptance, and historical from current work. A self-statement is useful but not mandatory for every fact. |
| Communication Style | Tone and register, warmth/confidence/directness, emphasis and persuasion, greetings, message progression, request intensity and variants, sign-offs, audience differences, incoming responses, and specific feedback on interactions | Establish attributable authorship for personal wording or demonstrable selection/use for an adopted work approach. Other participants' responses and specific reports can support a scoped account of interaction patterns or reception, but their wording is not the subject's voice. Connect supported tone and priorities to recognizable choices. |
| Working Style | Starting conditions, work rhythm and grouping, decisions and standards, reviews, handoffs, tool functions, follow-through, method changes, and differences across active commitments, reconstructed from exchanges and records | Evidence of practice attributable to the subject, whether documented by the subject, others, or systems. Connect supported process steps and scope. Distinguish assignments from actions, planned systems from systems in use, and isolated cases from recurring practices; recipients and notifications alone do not prove review or ownership. |
| Preferences | Explicit preferences, recurring corrections or requests, standing arrangements, specific reports of the subject's choices, and relevant personal interests | A clear personal statement, a well-supported pattern, or a credible scoped report with its reported status preserved. Another person's request or recommendation is not the subject's preference. Exposure, subscriptions, purchases, and tool use do not alone prove preference. |
| Writing Style | Original user-authored bodies, attributable drafts/edits, and writing samples | Original-language user prose and expression mechanics. Distinguish manually authored sign-offs from automatic signature blocks and templates. Keep the full message strategy in Communication Style and add distinct mechanics here. |
For a usable style account, read Narrative and communication style. First compare how relevant messages sound and what they foreground, then identify the opening, progression, request, and closing choices producing those effects. Keep meaningful differences by audience, purpose, familiarity, and language. A style section that merely describes administrative replies, work assignments, and career introductions has not yet explained voice or emphasis.
Sample substantive communication as well as easy administrative exchanges. A small number of confirmations or the current chat must not stand in for richer work correspondence that is available; a mass of duplicate outreach must not outweigh independent contexts. Known user-selected or approved templates can reveal an approach used for that campaign even when they do not establish natural writing style. Keep that narrower attribution rather than excluding every assisted message or treating every outgoing message as personally authored.
Report observed length ranges only when inspected samples support them; never copy a reference profile's numerical range, tone labels, message formula, or restrictions. Distinguish a team signature, delegated sender, or template persona from the subject. Retain derived greeting and closing forms without copying signatures or contact details.
Use four support types in derived state: explicit_statement, documented_context, observed_pattern, and user_confirmed. They identify how a conclusion is supported, not a numerical confidence score or hierarchy that favors sent mail. Use documented_context for specific facts, actions, or scoped third-party reports established by records; preserve any reported or uncertain status in the derived wording. Independent documented actions may support observed_pattern. Do not add a new storage type just because an observation was initially classified as a report.
Important distinctions:
- A professional signature may establish a dated identity fact while remaining unsuitable as a writing sample. Save the derived role, not the signature or contact details.
- A draft may reveal authored expression or an explicit intention, but does not establish that it was sent or acted on. Unverified generated drafts do not establish personal style.
- An invitation shows an invitation. A calendar acceptance shows acceptance, not necessarily attendance. No reply does not prove a missed meeting, rejection, approval, or lack of interest.
- A recruiting offer can be meaningful career context, but it does not establish a new job. Preserve offered, discussing, accepted, started, or unknown status as supported.
- An incoming assignment can establish a responsibility. Completion requires appropriate evidence; do not upgrade a planned milestone to a delivered result.
- One message may support multiple distinct observations. These are not independent occurrences of a behavioral pattern. Duplicate quotes, notifications, and forwarded copies are still one underlying event.
Observe temporal patterns in context
Compare independent exchanges across comparable contexts and periods when the available material supports it:
- Response cadence: look for recurring reply windows, individual versus grouped handling, and differences between ordinary and urgent requests. A delay followed by several replies may suggest grouped handling only when it recurs and the exchange content supports that reading.
- Follow-through: distinguish the subject's own check-ins, reminders, acknowledgments, and closure of outstanding work from follow-ups sent by others. Repeated requests to the subject do not alone establish neglect or a lack of follow-through.
- Attention over time: look for sustained changes in the topics the subject actively discusses, decisions they participate in, and commitments they pursue. Distinguish a current priority or project phase from a durable preference; incoming volume or a changed source mix does not establish a shift in personal attention.
Use attributable actions and exchange content together with timing. Distinguish message-event time from import or retrieval time, account for known time zones and scheduling, and separate automated or delegated activity from the subject's actions. Mail arrival does not establish when it was read; a missing reply may reflect incomplete coverage. Do not infer deep work, overload, discipline, emotional state, or availability from timing alone.
Retain only useful derived patterns with their context, relevant period, and supported exceptions. Describe a sustained change without inventing its cause. Do not create a message-by-message timeline, retain exact message timestamps, or treat this check as a reason to expand an incremental update beyond its authorized source scope.
4. Fill relevant gaps
Keep a transient coverage inventory of inspected areas, useful observations, promising gaps, and access limits. Never save message identifiers, raw passages, per-item timestamps, or pagination tokens. Persist only a general localized source scope, such as received and sent product, client, and collaboration correspondence; older archived threads were partly unavailable.
If the initial extraction yields only one observation, read Coverage and richness and diagnose self-authorship filtering, missing incoming or shared material, narrow topic selection, disconnected reading, and over-merging. Check whether relevant facts were discarded only because someone else documented them. A mailbox rich in professional facts should not become one generic statement about communication. This is an initial-baseline check, not a minimum output requirement for daily updates.
Stop when varied relevant pathways have been explored and additional reads no longer add meaningful understanding, the authorized scope is exhausted, or actual access/resource limits require a bounded result. Do not claim to have read every message unless that actually occurred. A missing facet may be unsearched or inaccessible, not absent from the user's life.
5. Preserve the full supported understanding
- Organize the profile as Background, Communication Style, Working Style, Preferences, Writing Style. Keep every independently useful supported detail; do not aim for a particular count or equal module lengths.
- Preserve names, relationships, responsibility boundaries, product/customer distinctions, meaningful timing, and current versus historical status when these aid understanding. Rich Background content is expected when work correspondence supports it.
- Include current projects and evolving career context when useful. Do not require every fact to be a lifelong trait.
- Compose related observations into topical passages with a clear progression. Use sequences and variant lists where they aid actual drafting. Do not retell each email, preserve trivial calendar/transaction minutiae, or inflate the profile with repetitive labels.
- Keep only derived narratives and general evidence-source descriptions. Do not persist original text, message IDs, subjects, addresses, links, screenshots, copied attachments, or exact-message timelines.
- Deliver supported content before offering optional enrichment. Do not require additional accounts or a lengthy questionnaire to compensate for shallow extraction.
Final mailbox check
Relevant material was considered without a self-authorship gate; received, sent, shared, and system-generated information contributed wherever supported; only advertising/spam were categorically excluded. Complementary evidence forms a connected account of the subject's context and activities, including when personal contributions are sparse. Personally authored voice, adopted communication approaches, and third-party reports remain distinguishable; status and silence were interpreted conservatively. The communication account describes supported tone and emphasis through recognizable choices and contextual variations, rather than merely listing tasks or prescribing a generic reply. When natural-voice evidence is unavailable, state that specific limit without suppressing the rest of the profile. Useful details remain in connected prose; raw source copies are absent and coverage is stated honestly.