DRAFT - npubmail is in public beta; this document is being finalised. # npubmail: Terms of Service (DRAFT) *Draft for legal review. Placeholders in `[to be completed]`.* **Provider:** [to be completed], [to be completed], [to be completed], VAT ID [to be completed] ("we"). **Service:** npubmail, email mailboxes identified by a cryptographic key ("Service"), at [to be completed] and its API. ## 1. Who the customer is 1.1 A customer is whoever controls a Nostr secret key that creates or uses a mailbox ("Key Holder"). If the key is used by software (an "Agent"), the person or organisation that runs the Agent is the Key Holder and is responsible for it as if they had acted themselves. 1.2 We do not verify identity. By using the Service you confirm you are at least 18 and use it in the course of a trade, business or profession, unless you tell us otherwise. [to be completed] ## 2. The Service 2.1 Receiving mail at your addresses, storing it encrypted to your key for the retention period, and making it available through the API. 2.2 Sending mail from your address within the limits in section 4. 2.3 Free tier: the features and limits stated at [to be completed] at the time of use. Paid options (e.g. mailing new recipients, extended storage) are paid per action via Lightning; see section 5. 2.4 We provide the Service "as available". No guaranteed uptime unless agreed separately. Mail delivery depends on third parties (receiving servers, DNS, spam filters); we do not guarantee that any message is delivered or arrives in an inbox. ## 3. Your key 3.1 The key is the only credential. If it is lost, the mailbox and its stored mail cannot be recovered, not even by us, because stored mail is encrypted to that key. 3.2 If the key is compromised, anyone holding it can use your mailbox. Delete the mailbox (API: `DELETE /v1/mailbox`) and create a new one. ## 4. Sending: limits and rules 4.1 By default you may send only to addresses that previously wrote to your mailbox with an authenticated sender (SPF/DKIM aligned), and to other mailboxes on the Service. Open sending to any address is a paid option and may be refused or withdrawn. 4.2 Daily recipient quotas apply. Mailboxes with repeated bounces or complaints are suspended from sending automatically. 4.3 You must comply with `ACCEPTABLE-USE.md`. In particular: no unsolicited bulk or commercial mail, no phishing, no impersonation, no malware, no harassment, nothing illegal under German or EU law or the law of the recipient. 4.4 You are solely responsible for the content of mail sent from your mailbox and for having a legal basis to contact the recipient. ## 5. Payment 5.1 Paid actions are paid individually via the Lightning Network, in satoshis (sats), at the price shown in the payment request. [to be completed] 5.2 We do not keep balances or prepaid credit and never hold customer funds. A payment request is bound to one specific action; once paid, that action is carried out once. 5.3 If a paid action could not be carried out at all, the payment stays valid for retrying the same action within [to be completed]. Partial delivery failures of a sent email (e.g. one recipient's server rejects it) are not refunded, as delivery depends on third parties (section 2.4). 5.4 Lightning payments are final. Unpaid payment requests expire after one hour. ## 6. Data protection 6.1 Our handling of personal data is described in `PRIVACY.md`. Where you process personal data of third parties through the Service (which is normal for email), we act as your processor under the Data Processing Agreement (`DPA.md`), which forms part of these Terms. 6.2 Stored mail is encrypted to your key. We cannot read it and cannot hand over readable stored content. ## 7. Suspension 7.1 We may suspend sending, a mailbox, or a key without notice if there is a concrete indication of abuse, a legal order, a threat to the Service's reputation (e.g. blocklisting), or non-payment of a paid feature. 7.2 Where possible we tell you why through the API (error message) and give you a chance to respond via [to be completed]. ## 8. Term and termination 8.1 You can stop at any time by deleting your mailbox. 8.2 Inactive free mailboxes (no API access for [to be completed] days) may be deleted. 8.3 We may end the Service or the free tier with [to be completed] days' notice published on the website and in the API discovery document. Paid storage periods that have not run out are refunded pro rata on request to a Lightning address you provide. ## 9. Liability 9.1 We are liable without limit for intent and gross negligence, for injury to life, body or health, and under the Product Liability Act. 9.2 For slight negligence we are liable only for breach of an essential contractual obligation (one whose fulfilment makes the contract possible and on which you may rely), limited to typical, foreseeable damage, and in any case to the amount you paid in the 12 months before the damage. 9.3 For the free tier, liability for slight negligence is excluded to the extent permitted by law. 9.4 You indemnify us against third-party claims arising from content you send or from your breach of these Terms, including reasonable legal costs. ## 10. Changes We may change these Terms for valid reasons (new law, new features, security). Changes are announced [to be completed] days in advance via the website and API. Continued use after that counts as acceptance. For paid credit, the Terms at the time of purchase apply to that credit. ## 11. Final provisions German law applies, excluding the UN Convention on Contracts for the International Sale of Goods (CISG). For merchants, the place of jurisdiction is [to be completed]. Mandatory consumer protection law of your country of residence remains unaffected.