Inboxer README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Inboxer listing page.

Inboxer

Your own mail layer for agents. Inboxer stores every email that comes in or goes out, gives agents an MCP server to read, draft and send, and gives you a small web UI to review drafts from your phone before they leave.

Inboxer has no business rules. It does not decide what to answer or when. Each consumer, such as a scheduled agent, a support bot or you in a chat, brings its own rules in its prompt and uses the same tools. Sending goes through a provider. Inboxer ships with Resend for mail and Kapso for WhatsApp, and the provider interface lets you plug in another service without touching the rest.

  • One process, one SQLite file. Persistence uses DeepBase on the runtime's built-in node:sqlite, so there is nothing to compile and no external database.
  • Webhooks plus a backup sync. Inbound mail and delivery events arrive by webhook. A periodic sync picks up anything a webhook missed.
  • Threads that hold together. Messages join threads by In-Reply-To / References, then by subject and participants, so replies stay grouped even when a client drops headers.
  • Drafts with a human in the loop. Agents write drafts with a note for the reviewer. You edit and send them from the UI. Concurrent edits are detected, never silently overwritten.
  • No passwords. The UI uses one-time login links that an agent requests through MCP. Every link signs in one browser.
  • Runs on Node.js and Bun. It works standalone or as a roster-server site.

A thread in the review UI on desktop

Use cases

Inboxer handles storage, threading and delivery. The decisions belong to whoever calls the tools, so the same instance can serve very different workflows.

Support with a human in the loop. A scheduled agent runs every hour with a prompt that holds your support rules. It calls list_threads({ mailbox: "support", status: "unanswered" }) and reads each thread with get_thread. It looks the sender up in your own systems, such as a license server or a CRM, and writes a reply with create_draft, adding a note for you: "Extend the trial by 7 days before sending." It sends you the draft's url wherever it reports to you. You open it on your phone, do what the note asks, adjust the text if needed and press Send.

Automatic answers for the easy cases. The same agent can be allowed to answer some questions directly. Its prompt says which ones, for example "if the question is only about pricing, reply with the pricing page". Everything else still becomes a draft. Inboxer does not enforce the split; the prompt does, and the audit log records which token sent what.

Several addresses, one inbox. support@, billing@ and feedback@ are separate mailboxes with their own sender name and signature. Agents filter by mailbox, and mail to any other address of the domain lands in catchall instead of bouncing.

Triage and follow-up. An agent labels threads (label), archives the ones that need no answer (mark), and finds earlier conversations with a customer before replying (search({ query: "license", from: "ana@" })).

Linking mail to your own data. After looking a sender up, the agent records what it found with set_contact("ana@customer.test", { meta: { license_id: "BL-2231" }, note: "Paying customer since 2024" }). The next get_thread with Ana returns that context without another lookup, the reviewer sees it above the draft, and list_threads({ status: "all", meta: { license_id: "BL-2231" } }) finds every conversation with that customer, whichever address they wrote from.

Ad hoc work from your own assistant. Connect Inboxer to the agent you use day to day and ask it to "summarize what customers asked this week" or "find every thread about refunds since Monday and draft a reply for each". It uses the same tools as the scheduled jobs, under its own token.

Quick start

Requires Node.js 22.16 or later, or Bun.

Terminal
npm install inboxer

createInboxer takes one plain object:

server.ts
const config = {
    publicUrl: "https://inboxer.example.com",
    dataDir: "/var/lib/inboxer",       // absolute path
    syncIntervalMin: 10,
    threadWindowDays: 30,
    mailboxes: {
        support:  { address: "support@example.com",  name: "Example Support", provider: "resend",
                    signatureText: "-- Example Support", signatureHtml: "<p>-- Example Support</p>" },
        feedback: { address: "feedback@example.com", name: "Example", provider: "resend" }
    },
    providers: { resend: { type: "resend", apiKey: "re_...", webhookSecret: "whsec_..." } },
    mcp: { tokens: { "support-schedule": "...", "laptop": "..." }, maxAttachmentMb: 10 },
    ui: { cookieSecret: "...", loginLinkTtlMin: 10, undoSec: 10, maxUploadMb: 20 }
};

Load it from wherever your project keeps configuration: a JSON file, environment variables, a secrets manager. The providers' keys and webhook secrets, the MCP tokens and ui.cookieSecret are secrets, so keep them out of Git. Configre is one way to do that: it merges a public file and an encrypted secret file into one object.

Generate each token and the cookie secret with:

bash
openssl rand -hex 32

Serve it with Bun:

server.ts
import { createInboxer } from "inboxer";

const inboxer = createInboxer(config);
Bun.serve({ port: 4000, fetch: inboxer.fetch });

Or with Node.js:

server.ts
import { createServer } from "node:http";

createServer(inboxer.handler).listen(4000);

Everything lives under one origin:

RoutePurpose
/Review UI
/static/*CSS and the vendored htmx script
/mcpMCP server (Streamable HTTP, stateless)
/webhooks/<provider>Provider webhooks, e.g. /webhooks/resend
/auth/<token>One-time login links

The createInboxer API

createInboxer(cfg, options?) does not listen on a port. It returns:

JSON Config
{
    fetch: (req: Request) => Promise<Response>,  // Bun.serve, Hono, any fetch-based server
    handler: (req, res) => void,                 // Node-style, e.g. for roster-server
    ready: Promise<void>,                        // database open and first sync done
    close: () => Promise<void>                   // stops the sync and closes the database
}

The function is synchronous, so a host that needs a synchronous factory can call it directly. Requests wait for ready before they are handled.

options.providers takes provider instances by name instead of resolving cfg.providers. See Providers.

createLoginLink(cfg, { label?, threadId? }) mints a one-time login link from a script on the server. See Signing in.

As a roster-server site

server.ts
// www/inboxer.example.com/index.ts
import type { SiteFactory } from "roster-server";
import { createInboxer } from "inboxer";
import { config } from "./config.ts";  // however you load it

const site: SiteFactory = server => {
    const inboxer = createInboxer(config);
    server.onClose(() => inboxer.close());
    return inboxer.handler;
};
export default site;

With roster's default isolation the site runs in its own process, so the database and the sync timer are never duplicated. Inboxer assumes a single process: login-link consumption and draft versioning rely on an in-process write queue.

Configuration

KeyMeaning
publicUrlBase URL used in login links
dataDirAbsolute directory for inboxer.db and the attachments/ folder
syncIntervalMinMinutes between backup syncs with each provider
threadWindowDaysHow far back a subject match may join an existing thread
mailboxes.<id>address, name, provider (a key of providers), optional signatureText, signatureHtml and uiReadOnly
providers.<name>type plus the provider's own options, such as Resend's apiKey and webhookSecret. The name is the webhook route and is stored on every message, so keep it once there is data
mcp.tokens.<name>Bearer tokens for MCP that reach every mailbox; the name is recorded as the actor in the audit log
mailboxes.<id>.tokens.<name>Bearer tokens that reach only that mailbox
mcp.maxAttachmentMbLargest attachment get_attachment returns as content
ui.cookieSecretSigns the UI session cookie
ui.loginLinkTtlMinMinutes before an unused login link expires
ui.undoSecSeconds a Send or Discard in the UI waits before it happens, with an Undo button
ui.maxUploadMbLargest file a reviewer can attach to a draft

mailboxes is an object keyed by id rather than an array, so a per-environment override can replace one mailbox without repeating the others. Mail sent to an address that matches no mailbox lands in the reserved catchall mailbox, grouped by that address. Replies go out from the address that was written to, with the name and signature of a mailbox on the same domain; the catch-all cannot start new mail.

uiReadOnly: true makes a mailbox an audit view: browser sessions read, label, archive and annotate, but cannot draft or send in it. MCP tokens are not affected.

Providers

A provider adapts one messaging service to the MailProvider interface. Nothing outside the provider knows which service is in use: messages store the provider's name and id, and the webhook route is /webhooks/<name>. One instance can run several providers; each mailbox names the one it uses.

A provider is of one of two kinds. A mail provider has subjects, several recipients, HTML and threading by headers. A chat provider serves one mailbox, a phone line: addresses are phone numbers (+5491155550000), a thread is the whole conversation with one number, and a message is plain text with at most one attachment.

typescript
interface MailProvider {
    readonly name: string;                 // its key in `providers`
    readonly kind: "mail" | "chat";
    parseWebhook(req: { headers: Headers; body: string }): ProviderEvent[];  // throws WebhookSignatureError
    getMessage(providerId: string): Promise<ProviderMessage>;
    listMessages(since: Date): AsyncIterable<MessageEvent>;
    listOutbound(since: Date): AsyncIterable<{ providerId: string; status: DeliveryStatus }>;
    send(message: OutboundMessage, idempotencyKey: string): Promise<{ providerId: string }>;
    getAttachment(providerMessageId: string, attachmentId: string): Promise<Uint8Array>;
}

type ProviderEvent =
    | { type: "message"; providerId: string; message?: ProviderMessage }  // MessageEvent
    | { type: "status"; providerId: string; status: DeliveryStatus; messageId: string | null };

type DeliveryStatus = "sent" | "delivered" | "read" | "bounced" | "failed";

OutboundMessage.attachments carries the draft's files as { filename, contentType, content }. ProviderMessage.attachments lists { id, filename, content_type, size, inline, content_id }; inline marks an image embedded in the body by cid:. A ProviderMessage has a direction: out ones were sent on the account by anyone, and Inboxer stores those it did not send itself, so a thread shows the whole conversation. A message event may carry the message; without it Inboxer calls getMessage. send() must not deliver twice for the same idempotencyKey. Inboxer uses the draft id, so retrying a failed send is safe. Pass your own implementations with createInboxer(cfg, { providers: { <name>: instance } }). All the types above are exported from inboxer.

Resend

providers: { resend: { type: "resend", apiKey, webhookSecret } }.

Resend handles sending and receiving. Inboxer talks to it in three ways:

DirectionHow
Resend → InboxerA webhook to <publicUrl>/webhooks/resend for every received email and delivery event, signed with Svix
Inboxer → ResendThe REST API with your API key: fetch received emails and their attachments, send, read delivery status
BackupEvery syncIntervalMin minutes Inboxer lists recent received and sent emails, in case a webhook was lost

Setting up Resend and your domain

Two domains are involved, and they are configured separately:

WhatExampleDNS
The app: UI, /mcp, webhooks, login linksinboxer.example.comA/AAAA to your server, served over HTTPS; this URL is publicUrl
The mail addressessupport@example.comMX to Resend, plus SPF, DKIM and DMARC

The app's host name does not have to match the addresses. A name like inboxer. avoids confusion with mail-server hosts such as mail.. The steps below use these two examples.

  1. Sign up at Resend and add the domain. Create an account at resend.com. In Domains, add example.com and enable receiving for it. Resend then lists the four DNS records below with the exact values for your account. Copy each value from there: keys and regions differ per domain, and the ones below are examples.

  2. TXT — DKIM. Name resend._domainkey, value the public key Resend shows (p=MIGfMA0GCSq…). It signs outgoing mail.

  3. MX and TXT — send. The send subdomain handles bounces and SPF for outgoing mail. MX send → feedback-smtp.us-east-1.amazonses.com, priority 10. TXT send → v=spf1 include:amazonses.com ~all.

  4. TXT — DMARC. Name _dmarc, value v=DMARC1; p=none; rua=mailto:dmarc@example.com. Tighten the policy once reports look clean. Resend does not require this record, but mailbox providers increasingly do.

  5. MX — receiving. Name @ (the domain itself), value inbound-smtp.us-east-1.amazonaws.com, priority 10. From then on every address of the domain is delivered to Resend and no longer to your previous mail host or forwarding rules; mail to addresses you did not configure lands in Inboxer's catchall mailbox. To keep the root domain on another host, put Inboxer's addresses on a subdomain such as help.example.com and add this MX there.

    Wait until Resend shows the domain as verified. That usually takes minutes, sometimes hours while DNS propagates.

  6. Create an API key. In API Keys, create a key with full access: Inboxer reads received and sent emails, not just sends. Put it in the provider's apiKey.

  7. Deploy Inboxer. Point inboxer.example.com at your server, serve it over HTTPS (roster-server issues certificates on its own; otherwise use your reverse proxy), and set publicUrl to that URL. The webhook and login links depend on it.

  8. Create the webhook. In Webhooks, add an endpoint at https://inboxer.example.com/webhooks/resend with the email.received, email.sent, email.delivered, email.bounced, email.failed and email.suppressed events. Copy its signing secret into the provider's webhookSecret.

  9. Restart and test. Restart Inboxer so it loads the secrets. Send an email from an outside account to support@example.com. Within seconds it should appear in the UI's Inbox and in list_threads. Resend's webhook page shows each delivery and Inboxer's response; a 401 means the signing secret is wrong.

Inbound webhooks carry no body, so Inboxer fetches each message from the receiving API. The webhook answers 500 when processing fails, so Resend retries; processing is idempotent by Resend id.

Inboxer sets its own Message-ID (<uuid@your-domain>) on outgoing mail. If the provider reports a different one in a delivery event, Inboxer adopts it, so replies still find the thread. When neither header matches, the subject-and-participant rule keeps the conversation together.

Kapso (WhatsApp)

javascript
mailboxes: { whatsapp: { address: "+12025550100", name: "Example", provider: "whatsapp" } },
providers: { whatsapp: { type: "kapso", apiKey, webhookSecret, phoneNumberId } }

A WhatsApp number becomes a mailbox whose contacts are phone numbers. Inboxer mirrors the line: what people write, and what anyone sends on it, such as a bot that talks to Kapso directly. Buttons, links and templates show as Kapso describes them in text; images, documents and voice notes are attachments, a voice note with its transcript.

  1. In Kapso, add a webhook of kind kapso on the phone number, pointing at <publicUrl>/webhooks/<name> (here /webhooks/whatsapp), with the events whatsapp.message.received, whatsapp.message.sent, whatsapp.message.delivered, whatsapp.message.read and whatsapp.message.failed. A number takes several webhooks, so one that already feeds a bot stays as it is. Its secret is webhookSecret.
  2. apiKey is a Kapso API key and phoneNumberId the number's id.

The first sync reads the line's whole history, so conversations that began before Inboxer was attached are there. A reply is plain text, or one file with the text as its caption. WhatsApp only delivers free text within 24 hours of the person's last message; after that the send fails and the message shows as failed. Templates and starting a chat from the review UI are not supported. The Cloud API takes no idempotency key, so a send whose response was lost can repeat on retry.

MCP

The MCP server is at <publicUrl>/mcp. It speaks Streamable HTTP without sessions, and every request carries Authorization: Bearer <token>.

Connecting a client

Give each client its own token, so the audit log shows who did what and you can revoke one without touching the rest. Add it under mcp.tokens:

javascript
mcp: {
    tokens: {
        "support-schedule": "3f9c...",  // openssl rand -hex 32
        "laptop": "a71e..."
    }
}

Restart Inboxer to load it. To revoke a token, delete its entry and restart.

Mailbox tokens

A token under mcp.tokens reaches every mailbox and the catch-all. To give a team or a job access to one mailbox only, put its token under that mailbox instead:

javascript
mcp: { tokens: { "admin": "3f9c..." } },                                              // every mailbox
mailboxes: {
    feedback: { address: "feedback@example.com", name: "Example", tokens: { "feedback-bot": "a71e..." } },  // only feedback
    legal:    { address: "legal@example.com",    name: "Legal",   tokens: { "legal-team": "c2d4..." } }     // only legal
}

A mailbox token sees nothing else: other mailboxes' threads, messages and drafts read as not found, and it cannot send from them. Contacts are shared by address, but it reaches only the contacts that take part in its own threads. A login link it creates signs a browser into the same mailboxes, and it lists and revokes only those browsers. To reach several mailboxes, put the same name and token under each. A name always maps to one token, and a token to one name.

With Claude Code:

Terminal
claude mcp add --transport http inboxer https://inboxer.example.com/mcp --header "Authorization: Bearer <token>"

With a client configured by JSON, such as a project .mcp.json:

config.json
{
    "mcpServers": {
        "inboxer": {
            "type": "http",
            "url": "https://inboxer.example.com/mcp",
            "headers": { "Authorization": "Bearer ${INBOXER_TOKEN}" }
        }
    }
}

If you run more than one Inboxer, name each server after its deployment, such as inboxer-acme and inboxer-globex. Clients key servers by name, so two entries called inboxer in different scopes (one global, one in a project's .mcp.json) collide: only one connects, and the agent reads and sends mail in whichever it got.

Ask the client to call list_mailboxes to check the connection, and that the addresses are the ones you expect. Connectors that require OAuth, such as the ones added from the claude.ai web interface, are not supported yet; they need a client that can send a static header.

Tools

ToolWhat it does
list_mailboxesConfigured mailboxes plus catchall
list_threads(mailbox?, status?, label?, since?, meta?, limit?)status: unanswered (default; last message inbound and no pending draft), all or archived
search(query?, labels?, meta?, mailbox?, from?, since?, until?, limit?)Full text over subject, body, from and to, best match first; accent and case insensitive. labels keeps messages that carry every one
get_thread(thread_id)Messages as plain text, pending drafts included, plus the thread's context and its participants' contacts
set_contact(address, meta?, note?) · get_contact(address)Context for an email address, such as ids in other systems
set_thread_meta(thread_id, meta?, note?)Context for one conversation, such as a ticket number
label(ids, add?, remove?)Labels on messages, or on every message of a thread when given a thread id
mark(ids, read?, archived?)Read and archived flags, same id rules
create_draft(reply_to_id | mailbox+to+subject, text, html?, note?, reply_all?, cc?, bcc?)A draft for review; note is shown highlighted to the reviewer
update_draft(id, version, ..., force?)Requires the current version; refuses a draft a human edited unless force: true
list_drafts(mailbox?) · discard_draft(id) · send_draft(id)Draft lifecycle; send_draft sends the last saved version
send(mailbox, to, subject, text, ...) · reply(message_id, text, reply_all?)Direct sending, for consumers whose rules allow it
get_attachment(message_id, attachment_id)The attachment itself: images as image content the model can see, text as text, anything else (PDF, documents) as an embedded resource. Up to mcp.maxAttachmentMb
create_login_link(label?, thread_id?) · list_sessions · revoke_session(id)Access to the UI; with thread_id the link lands on that thread

Context

set_contact and set_thread_meta attach context that Inboxer stores without interpreting:

  • meta holds plain key/value pairs (text, numbers, booleans), typically ids in your own systems: { license_id: "BL-2231", crm_id: 991 }. Updates merge by key, and null removes a key, so agents writing different keys do not overwrite each other.
  • note is free text; a new value replaces it and null clears it.

Contacts are keyed by bare address, so Ana <ANA@customer.test> and ana@customer.test are the same contact. get_thread includes the thread's context and the contacts of its external participants. The meta filter of list_threads and search matches a thread when its own context or any participant's contact has every given pair; values compare as text, so 991 matches "991". list_threads still applies its status filter, so pass status: "all" to find every conversation with a customer.

Every thread, message and draft in a result carries a url that opens it in the review UI, scrolled to the draft when it is one. An agent can pass it on as is: "Ana asked about her trial; I drafted a reply: https://inboxer.example.com/threads/…". A browser that is already signed in opens it directly; for one that is not, create_login_link({ thread_id }) signs it in and lands on the same thread.

The review UI

The UI is server-rendered with Hono and htmx, without a front-end build, and works on a phone.

Inbox on a phone A thread with a pending draft The context sheet New mail

  • Drafts: pending drafts newest first, with mailbox, recipient and who wrote them. Opening one shows it at the end of its thread with the agent's note, Edit, Send and Discard. Send and Discard happen after ui.undoSec seconds, with an Undo button meanwhile; the wait runs on the server, so closing the tab does not cancel it and a restart resumes it. Agents cannot change a draft during that window.
  • Editing: Edit opens the draft in a sheet with To, Cc, Subject and a plain-text body, and Save or Save & Send. Attach files with the paperclip or by dropping them on the sheet; they go out with the message. HTML is generated from the text at send time, with the mailbox signature. If the agent changed the draft while you were editing, saving shows both versions instead of overwriting. Your edits mark the draft edited_by_human, so agents leave it alone.
  • Inbox: threads per mailbox, filtered by mailbox and by pending (unanswered), all or archived.
  • Thread: messages oldest to newest as chat bubbles, yours on one side and theirs on the other, as plain text. Incoming HTML is never rendered. Images, embedded ones included, show as thumbnails under the message and other attachments as file links. Only common image types and PDFs open in the browser, sandboxed; everything else downloads. Context shows what agents stored for the thread and its participants.
  • Replying: the box under the thread sends a quick reply, to the sender or to everyone. The + button opens the full reply, with Cc, Subject and attachments. New mail starts a conversation from any mailbox you can send from.
  • Devices: the browsers signed in, each with a Revoke button.

On a phone, navigation moves to a bottom tab bar and editors open as bottom sheets.

The context panel in the light theme

The theme follows the system setting; Settings has a System / Light / Dark switch, a time zone and a 12- or 24-hour clock, each stored in a cookie on that device, and Log out. Dates follow the browser's time zone and clock until Settings pins them. Every UI string lives in src/ui/strings.ts.

Signing in

  1. An MCP client calls create_login_link. Inboxer stores only a SHA-256 hash of the token.
  2. Opening the link shows a Sign in on this device button. Link previews and mail scanners only issue GET requests, so they do not use up the link.
  3. The button's POST consumes the link and creates a session. Any later attempt sees "This link was already used or expired."
  4. The session cookie is HttpOnly, Secure, SameSite=Lax and signed. Sessions do not expire; the cookie is re-issued on every visit so browsers keep it. A session ends on logout or revocation.

Each link creates one independent session. Revoking a phone does not sign out a laptop. A session reaches the mailboxes of the token that created its link; Devices shows them on each session that is limited.

If you have no MCP client at hand, mint a link from a script on the server, with the same config the app uses:

server.ts
// login-link.mjs
import { createLoginLink } from "inboxer";
import { config } from "./config.js";  // however the app loads it

const { url } = await createLoginLink(config, { label: process.argv[2] });
console.log(url);
bash
node login-link.mjs "my phone"

threadId lands the browser on that thread after signing in. The session reaches every mailbox.

Data

DeepBase is a nested key-value store without secondary indexes, so Inboxer maintains its own indexes in the same serialized write as the record they point to:

PathContent
messages/<id>Every message: direction, status, headers, body, attachment metadata, labels, draft note and version
threads/<id>Thread summary used by list_threads
drafts/<id>Pending drafts
msgid/<sha1(Message-ID)>Message lookup for threading
ext/<provider>/<sha1(provider id)>Idempotent ingest and delivery updates
contacts/<sha1(address)> · thread_context/<id>Context set through MCP
sync_cursor/<provider>When each provider's last sync started
audit/<id>Sends, edits, discards, labels, context changes, login links and session changes, with the actor
login_links/<sha256> · sessions/<sha256>UI access

Attachments of messages the provider holds are copied to <dataDir>/attachments/<message id>/ when the message arrives, so they outlive the provider's retention. One that fails to download is fetched again the first time it is opened.

Search uses DeepBase's full-text plugin: an in-memory index of messages/, ranked with BM25, with labels indexed as tags. It is built on the first search after startup and kept current by every write. The inbox in the UI searches the same index and lists the threads with a matching message, archived ones included.

Agent skill

The Inboxer skill teaches a coding agent to set up Inboxer, configure Resend and the domain, connect MCP clients, and work with mail through the tools:

Terminal
npx skills add https://github.com/clasen/Inboxer --skill inboxer

Development

Terminal
npm test          # Node.js test runner
npm run test:bun  # the same suite under Bun
npm run build     # compiles to dist/
npm run preview   # the review UI on dummy data, nothing is sent

License

The MIT License (MIT)

Copyright (c) Martin Clasen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.