[APP][5.0+] FairEmail - Fully featured, open source, privacy oriented email app

Search This thread

M66B

Recognized Developer
Aug 1, 2010
26,024
56,095

mkasimd

Senior Member
Apr 7, 2021
185
366
Düsseldorf
To HTML gurus: this is my attempt of a custom implementation of "algorithmic darkening" (display messages on a dark background, even though they weren't designed for this) for the original message view on Android before version 10:

https://github.com/M66B/FairEmail/blob/master/patches/invert.html

Result:

https://rawcdn.githack.com/M66B/Fai...097ed999a3e77c56c1b97388c/patches/invert.html

Can this be improved? Are there side effects?
Is it possible to check the original HTML's background brightness before doing this? Because it'd be stupid if an email was already sent with a dark background and a light text, and then inverting the text to dark with a black background 🤔
 
  • Like
Reactions: M66B

M66B

Recognized Developer
Aug 1, 2010
26,024
56,095
Is it possible to check the original HTML's background brightness before doing this? Because it'd be stupid if an email was already sent with a dark background and a light text, and then inverting the text to dark with a black background 🤔
That's indeed a potential problem, but I don't know how (yet?).
 

mkasimd

Senior Member
Apr 7, 2021
185
366
Düsseldorf
That's indeed a potential problem, but I don't know how (yet?).


Apparently there's a while field of science behind the question of what colors are perceived as light / bright. This article is interesting on the topic:


@mkasimd there are no changes needed for "set" background colors, please see the updated example:

https://rawcdn.githack.com/M66B/Fai...aedcdc1448bff3da9879be8cd/patches/invert.html


But this should work too, I think. In the worst case, we can send a few emails with different background colors in a test version before you push an official release. Just to be certain.
 

M66B

Recognized Developer
Aug 1, 2010
26,024
56,095
Apparently there's a while field of science behind the question of what colors are perceived as light / bright. This article is interesting on the topic:





But this should work too, I think. In the worst case, we can send a few emails with different background colors in a test version before you push an official release. Just to be certain.
FairEmail already adjusts colors for the reformatted message view, using magic science ;-)

For now I am going to wait what Google says about forcing dark mode. It would be better if the browser did this instead of manipulating the HTML. Maybe I I'll leave it like it is, which means that there will be a message that Google removed dark mode for Android before version 10. Let's say that reviews are not very motivating to workaround Google's decision this problem.
 
Last edited:

M66B

Recognized Developer
Aug 1, 2010
26,024
56,095
Version 1.1930 is available on GitHub now.

Changelog/download:
https://github.com/M66B/FairEmail/releases

If you enable debug mode (last option of the miscellaneous settings tab page), it is possible to enable the option "Fake dark", in the debug panel, which uses a custom algorithmic dark mode (on all Android versions for now). I would like you to test if this works okay for all messages.

@zinjashike sort on sender will show email addresses and names (if available) with the version.
 
Last edited:

Top Liked Posts

  • 1
    (...) I would like you to test if this works okay for all messages.
    Android 10.
    So far so good 👍🏽
  • 23
    Version 1.1923 1.1924 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    The option to suppress notifications while on a call (recently added) has been replaced by delaying notifications until after having ended the call instead. This way there isn't a risk that important new messages will be missed or seen too late. This option is available on Android 12 and later only because earlier Android versions do not have the requires APIs.
    20
    Version 1.1906 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    Thanks @Rtxda for testing!
    20
    Quite some people asked my opinion about Thunderbird / K9 mail joining.

    I wish them good luck because we need privacy friendly apps. The author of K9 mail seems a nice guy to me, and even contributed a few lines of code and some constructive feedback to FairEmail. I hope he'll find a nice place in the Mozilla organization.

    That said, the concept of FairEmail is somewhat different than of Thunderbird / K9 mail. One of the things I read about is deep integration between the Thunderbird desktop / mobile app. The concept of FairEmail is to be standalone and not to depend on any service. Maybe in some way the apps are competitors, depending on the way you look at them, but in the end the goal is similar, offering a decent and privacy friendly app, at least I hope that this keeps being the goal of Mozilla. Of course a lot more can be said, but the apps just have a different character, which you might or might not like.
    19
    Version 1.1907 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases
    18
    Version 1.1914 1.1915 is available on GitHub now.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    All changes required or desired for Android 13 have been done now.
    Now that this has been done and given my personal situation, there will be bug fix releases only for now.
  • 236
    ic_launcher.png

    FairEmail
    Open source, privacy friendly email app for Android

    banner7_long.png


    See here for a description:
    https://github.com/M66B/open-source-email/

    See here for screenshots:
    https://email.faircode.eu/#screenshots

    Downloads:
    https://github.com/M66B/open-source-email#user-content-downloads

    Frequently asked questions:
    https://github.com/M66B/open-source-email/blob/master/FAQ.md

    Please read this before requesting a new feature:
    https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-get-support

    This XDA thread is about using the latest version of FairEmail.

    For support on authorizing an account you should consult the documentation of your provider, see also here.

    Off topic comments are allowed as long they are related to FairEmail and are in the general interest of the followers of this thread.

    Discussion of purchases is not allowed here, please contact me via here instead.
    68
    How was the call with Google today, Marcel?

    Google was pretty friendly and cooperative and told me the favicons are indeed the problem, and it can/should be fixed by updating in the privacy policy to "disclose how your app accesses, collects, uses, and shares user data":

    Privacy Policy​

    All apps must post a privacy policy in both the designated field in Play Console and within the app itself. The privacy policy must, together with any in-app disclosures, comprehensively disclose how your app accesses, collects, uses, and shares user data, not limited by the data disclosed in the Data Safety section. This must include:
    • developer information and a privacy point of contact or a mechanism to submit inquiries
    • disclosing the types of personal and sensitive user data your app accesses, collects, uses, and shares; and any parties with which any personal or sensitive user data is shared
    • secure data handling procedures for personal and sensitive user data
    • the developer’s data retention and deletion policy
    • clear labeling as a privacy policy (e.g., listed as “privacy policy” in title)
    The entity (e.g., developer, company) named in the app’s Google Play listing must appear in the privacy policy or the app must be named in the privacy policy. Apps that do not access any personal and sensitive user data must still submit a privacy policy.

    Please make sure your privacy policy is available on an active URL (no PDFs) and is non-editable.

    So, I have updated the privacy policy and added this new table:

    https://github.com/M66B/FairEmail/blob/master/PRIVACY.md#summary-of-shared-data

    I am not sure if it covers everything, so feedback is more than welcome. @mkasimd maybe you can take a look?

    Note that I have also enabled BIMI, Gravatars, Libravatars and favicons for the Play store version again.

    The short term goal is to release a Play store test version (and associated GitHub version) and to get the update approved. I will think about the next steps after this has been accomplished. Given the huge number of supportive messages I received (much appreciated!) the project will be continued in some form in any case.
    49
    Version 1.1900 is available on GitHub now and in the Play store test program after Google's approval (which is the main goal of this release).

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    My girlfriend is slowly recovering too :)
    46
    It is time for a new, modern, open source, privacy friendly email client for Android.

    I have just released a first alpha version for feedback on the design and features.

    Not for production use yet!

    Most of the stuff basically works, but be prepared for crashes and error notifications.


    Safe email is a working name, but it is for several reasons not a convenient name, so suggestions for a name are welcome.
    37
    I have just released alpha version 0.15

    Changelog/download:
    https://github.com/M66B/open-source-email/releases

    With a bit of luck the next version can be a beta version.

    I am putting a lot of effort into this project, so thanks are appreciated.