{
    "description": "Machine appended boilerplate, per the DISCLAIMER convention in docs/annotation-guide.md: text attached by a system, gateway or template independently of what the sender wrote. Matching is on the block as a whole. Deliberately generic: patterns target the shapes that recur across senders, not any one vendor's template, because fitting a single sender's footer would not transfer.",
    "phrases": [
        {
            "id": "confidentiality_en",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(this (e-?mail|message)[^.]{0,80}(is )?(strictly )?confidential|confidential and (may be )?(legally )?privileged|intended (solely |only )?for the (named |intended )?(addressee|recipient))"
        },
        {
            "id": "unintended_recipient_en",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(if you (have received|are not) .{0,80}(in error|the intended recipient)|please (notify the sender|delete) .{0,60}(immediately|and delete))"
        },
        {
            "id": "no_liability_en",
            "strength": 0.7,
            "flags": "i",
            "pattern": "(accepts? no (liability|responsibility)|any views or opinions (presented|expressed) .{0,60}are (solely )?those of the (author|sender))"
        },
        {
            "id": "virus_scan_en",
            "strength": 0.7,
            "flags": "i",
            "pattern": "(this (e-?mail|message) has been (scanned|checked) for viruses|virus-free|free from (any )?virus)"
        },
        {
            "id": "confidentiality_de",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(vertrauliche Informationen|Diese E-?Mail (ist|enthält) .{0,60}vertraulich|Sollten Sie nicht der richtige Adressat sein)"
        },
        {
            "id": "confidentiality_fr",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Ce message .{0,60}confidentiel|destin. (exclusivement|uniquement) aux personnes)"
        },
        {
            "id": "confidentiality_es",
            "comment": "The bare word destinatario used to be an alternative on its own, so any Spanish sentence mentioning a recipient counted as a 0.9 disclaimer. The recipient reference now needs its boilerplate context.",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Este (mensaje|correo) .{0,60}confidencial|informaci.n confidencial|uso exclusivo de(l)? destinatario|si (usted )?no es el destinatario)"
        },
        {
            "id": "gdpr_notice",
            "comment": "The bare token GDPR and the bare phrase privacy policy both appear in ordinary work prose, so each alternative now needs its footer context.",
            "strength": 0.7,
            "flags": "i",
            "pattern": "((see|view|read|review|check) (our|the) privacy (notice|policy)|privacy (notice|policy)\\s*[:|]|in accordance with (the )?(GDPR|General Data Protection Regulation)|process(es|ing)? (of )?your personal data|isikuandmete töötlemise)"
        },
        {
            "id": "company_registration",
            "strength": 0.6,
            "flags": "i",
            "pattern": "(registered (in|office) .{0,60}(no|number)\\.?\\s*[0-9]|VAT (registration )?(no|number)|Handelsregister|Reg\\.?\\s*nr\\.?\\s*[0-9])"
        },
        {
            "id": "unsubscribe_footer",
            "comment": "The bare word unsubscribe also appears in prose about mailing lists, so it only counts standing alone on its own line, which is the bare-link-text shape, or with its imperative footer context.",
            "strength": 0.8,
            "flags": "im",
            "pattern": "(to unsubscribe|unsubscribe (from|at|here|now|at any time)|click here to unsubscribe|^\\s*unsubscribe\\s*\\.?\\s*$|if you (no longer |don'?t )?(wish|want) to (receive|get)|opt out of these emails|manage your (email )?preferences|loobu (uudiskirjast|teavitustest))"
        },
        {
            "id": "confidentiality_et",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Käesolev (e-?kiri|sõnum) .{0,60}(konfidentsiaal|asutusesisene)|kui te ei ole .{0,40}saaja)"
        },
        {
            "id": "confidentiality_it",
            "comment": "Italian, Portuguese, Dutch, Polish, Russian, Finnish and Scandinavian mail all had reply-header coverage but no disclaimer coverage at all. These are the standard legalese openings, same shape as the English and German entries.",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Le informazioni contenute .{0,60}(riservat|confidenzial)|Questo messaggio .{0,60}(riservat|confidenzial)|Se non siete il destinatario)"
        },
        {
            "id": "confidentiality_pt",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Esta mensagem .{0,60}confidencial|informa..o confidencial|n.o (é|e|for) o destinat.rio)"
        },
        {
            "id": "confidentiality_nl",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Dit bericht .{0,60}vertrouwelijk|De informatie .{0,60}vertrouwelijk|niet de beoogde ontvanger)"
        },
        {
            "id": "confidentiality_pl",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(Ta wiadomo.. .{0,60}poufn|informacje poufne|nie jeste. .{0,40}adresatem)"
        },
        {
            "id": "confidentiality_ru",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(сообщение .{0,60}конфиденциальн|конфиденциальную информацию|не являетесь .{0,40}(получателем|адресатом))"
        },
        {
            "id": "confidentiality_fi_sv_da",
            "strength": 0.9,
            "flags": "i",
            "pattern": "(T.m. viesti .{0,60}luottamuksellinen|luottamuksellista tietoa|Detta meddelande .{0,60}konfidentiellt|Denne (e-?mail|meddelelse|melding) .{0,60}fortrolig)"
        },
        {
            "id": "automated_do_not_reply",
            "strength": 0.85,
            "flags": "i",
            "comment": "Standard notification preamble or footer.",
            "pattern": "(this is an? (automated|automatic|system.generated) (e-?mail|message|notification)|please do not reply to this (e-?mail|message)|do not reply directly to this)"
        },
        {
            "id": "receiving_because",
            "strength": 0.85,
            "flags": "i",
            "comment": "The canonical notification footer: why you got this and how to stop it. Recurs across almost every service.",
            "pattern": "(you (are |have )?receiv(ed|ing) (this|these) .{0,60}(because|since|as (a|an) )|you'?re receiving (this|these) .{0,60}(because|since))"
        },
        {
            "id": "manage_notification_preferences",
            "strength": 0.8,
            "flags": "i",
            "comment": "Opt out and preference management, distinct from a plain unsubscribe link.",
            "pattern": "(to (stop|change|update|manage|adjust) (receiving |getting )?(these|this|your) .{0,50}(e-?mails?|notifications?|messages?|preferences|settings)|(change|manage|update) your (e-?mail |notification )?(preferences|settings|subscription))"
        },
        {
            "id": "subscribe_invitation_footer",
            "strength": 0.7,
            "flags": "i",
            "comment": "Standing promotional footer on a notification: an invitation to subscribe to something other than what the message is about.",
            "pattern": "(want to (know|hear|stay|learn) .{0,80}\\?\\s*(would you|subscribe|sign up|join)|would you like to (stay|be) (up.to.date|informed|notified) .{0,60}\\?)"
        },
        {
            "id": "powered_by_footer",
            "strength": 0.7,
            "flags": "m",
            "comment": "Provider branding appended by the sending platform. Case sensitive on purpose: under the i flag the capital brand class matched any word, so prose like 'I sent via courier yesterday' counted as branding. The line anchor keeps it to the standalone footer shape.",
            "pattern": "^\\s*([Pp]owered by|[Ss]ent (via|with|using)|[Dd]elivered by) [A-Z][\\w.'-]+.{0,40}$"
        },
        {
            "id": "support_contact_footer",
            "strength": 0.6,
            "flags": "i",
            "comment": "Standing support or help pointer in a service footer.",
            "pattern": "(if you (have any )?(questions|need help|require assistance)[^.]{0,60}(contact|reach|e-?mail) (us|our|the) (support|team|help)|visit our (help|support) (cent(er|re)|site|page))"
        }
    ]
}
