[Email] Support per-account HTML/rich-text signatures with plain-text fallback

Hello,

I would like to request support for per-account HTML or rich-text signatures in the native Sailfish OS Email application.

Environment

  • Device: Jolla Phone

  • Sailfish OS: 5.2.0.18

  • Application: native Email application

  • Tested account type: General email account using IMAP and SMTP

Current behaviour

The account settings provide a signature field, but the signature is handled as plain text.

Line breaks are preserved, and email clients may automatically detect a website address and display it as a clickable link. However, there is no user-facing way to format the signature or define an actual hyperlink with different visible text and destination.

For example, a professional user cannot reliably:

  • display a company website name linked to a different URL;

  • use bold or italic text;

  • create a structured contact block;

  • control spacing and alignment;

  • include a small company logo;

  • preview the signature as recipients will see it.

Entering HTML tags in the signature field is not a safe workaround because the field is not documented as an HTML editor and the tags may be sent or displayed literally.

Requested behaviour

Please add support for a separate HTML or rich-text signature for each email account.

A simple editor could provide:

  • bold and italic text;

  • clickable links with separate visible text and destination URL;

  • line breaks and basic paragraph spacing;

  • simple alignment;

  • optionally, a small embedded or linked image;

  • a preview of the resulting signature;

  • an option to enable or disable the formatted signature for each account.

The existing plain-text signature workflow should remain available.

MIME compatibility

When a formatted signature is used, the application should preferably send the message as multipart/alternative, containing:

  • a text/plain version for compatibility;

  • a text/html version for clients that support HTML.

The plain-text alternative should be generated automatically and remain readable. Users should also be able to choose plain-text composition when needed, even if a formatted signature has been configured.

Security and privacy

A controlled rich-text editor would be preferable to unrestricted HTML input.

The application should sanitize the generated HTML and reject:

  • scripts and active content;

  • forms;

  • unsafe CSS;

  • tracking pixels;

  • automatically loaded remote resources.

Remote images should be optional or disabled by default, and the preview should not load external resources without the user’s consent.

Professional use case

A user may manage several personal and professional email accounts on the same device. Each account may require a different identity, company name, role, telephone number, website, legal notice, or booking link.

A formatted signature configured once per account would avoid repeatedly editing contact details on a phone and would make the native Email application more practical for professional communication.

This request concerns visual HTML or rich-text email signatures. It is separate from cryptographic PGP/S/MIME signatures and separate from the standard -- signature separator.

Thank you for considering this improvement.

And another ping to summon @dcaliste!

Hi! There is also this thread of feature requests for the native email client, starting from interface elements to setting Sent messages folder. These which you have listed are great too! We could try to form a united thread, list everything to the same list and parhaps even vote on which features to prioritize?

Thanks, @ldezem . I agree that a shared overview of native Email improvement requests could be useful, especially for identifying priorities.

I would still prefer to keep each substantial feature in its own topic, so that it can be discussed and supported separately without mixing different requirements. The broader thread could serve as an index linking to the individual requests, including this one.

For this topic, the core request is per-account rich-text/HTML signatures with a readable plain-text alternative, while keeping plain-text composition available.