yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] M66B:
Did you setup the account with the Gmail quick setup wizard?

It looks like you university is using a not supported authentication method. Can you please tell me where I can find the instructions of the University to setup an email account? If this was sent to you in a document or if you don't want to share it here, long press 'Support' in the navigation menu to contact me directly.
[Android Apps and Games] nplatis:
When I first launched the program I setup my Gmail account using the wizard. Then I tried to add the identity as described in the previous message. When the username/password fields were disabled they displayed my gmail address and a very long string, respectively.

Regarding activation of the fields, it think they get activated _after_ I hit "Save" and the error message appears.

I will provide more info privately, thank you.
[Android Apps and Games] M66B:
I have already looked into this and in the next version the username/password will be enabled if another provider is being selected.
[Android Apps and Games] jochen01:
Feature request

Hi,

I just began to try FairEmail. Great so far, but I miss a feature:

Let's say I have 2 accounts. They both are only reachable by 2 different VPN connections which are not active all the time. The accounts are set up to manual sync.

If I sync by swiping down from within the account view I get at least one error message re. failed connection. That's right but raises an annoying red error message.

I'd wish to have: Option in account settings to disable connection error messages. This would also help people with bad network connections (an issue in some regions of Germany).

What do you think?
[Android Apps and Games] M66B:
I think FairEmail should be clear about any error that occurs, so you know that there is something not right.

Suggestion: remove the inbox of the account with this problem from the unified inbox, so it will not be synchronized when synchronizing the unified inbox, but only when you synchronize that particular inbox.
[Android Apps and Games] M66B:
I have just released version 1.883 1.884 "Hypselospinus"

Changelog/download:

https://github.com/M66B/FairEmail/releases
[Android Apps and Games] jochen01:
I understand the intention. Therefore I suggest it as an option in IMAP settings, perhaps with a warning...

I could not find a way to remove the account from unified inbox without disabling the account. I don't want to disable any account since when connected to the right network I want to use the mail account without digging into the configuration.

But I don't use unified inbox. Startup view is "accounts". If I swipe down here I will have the connection problem.
[Android Apps and Games] M66B:
Long press the inbox and there will be an option to show/hide in the unified inbox.
[Android Apps and Games] M66B:
Indeed, you can't remove an account without disabling it, so there is no solution for this rare problem.

I cannot add an option for every little thing, so I guess you'll need to live with this.
[Android Apps and Games] jochen01:
O.k., you are the developer of FairEmail...

...or k-9.

Thank you for your statement.
[Android Apps and Games] M66B:
You should be able to remove the inbox with this problem from the unified inbox, so it will not be synchronized on pulling down (long press the folder in the folder list for this option). So, that you can synchronize the inbox folder when there is a suitable connection only.
[Android Apps and Games] jochen01:
Thank you, I did it that way. Has a few disadvantages but I'll try if I can live with it in daily usage before buying the pro.
[Android Apps and Games] maybeme2:
Ver 1.882

Fwiw, FairEmail is again displaying (in the unified inbox) thread titles in bold (I.e. 'unread') even though the message itself is already read and displayed in non bold (I.e. 'read') and even though conversation threading is *not* selected.

I think this was temporarily fixed but the behavior has reverted.
[Android Apps and Games] M66B:
I don't see how this can happen.

In any case there were no recent changes that can explain this changed behavior.

Background: when threading is disabled, messages are grouped by a unique message ID:

https://github.com/M66B/FairEmail/b...in/java/eu/faircode/email/DaoMessage.java#L71
[Android Apps and Games] clohr:
Fine. It's perfect!

No problem, it's open-source.
[Android Apps and Games] maybeme2:
I don't know. Just reporting what's happening.
[Android Apps and Games] chantoine:
No problem here.
[Android Apps and Games] M66B:
I have just released version 1.885

Changelog/download:

https://github.com/M66B/FairEmail/releases
[Android Apps and Games] Ines*:
Does it still happen occasionally for a few messages and you cannot reproduce it?

When FE unexpectedly shows messages unread, did you check with a different mail client if they *are* unread on the server (for whatever reason)?
[Android Apps and Games] maybeme2:
I'll keep an eye out for when it happens so I can answer accurately.

Once opened and read the message remains displayed as read (I.e. not bold) in FairEmail. That is not the problem.

What displays as bold (unread) is only the thread *title* in all the messages with that common thread. Below the thread title everything else is correctly displayed non bold. If I double click on each bold title it changes to not bold but I have to do it for each message with the bold title. Doing it on one does not change the other bold thread titles.

I have no idea 'why' this happening. Marcel asked for feedback and I'm reporting what I see on my phone.

Your comment about another email app is a pertinent one. I have an app on my windows 10 laptop that displays what is still on my mail servers. That maybe what caused this to happen because I accessed the server contents recently. So I'll keep an eye on the possible correlation in the future. It still seems strange that in FairEmail the individual message remains correctly displayed as read but their common thread becomes bold/unread.

It is not a major problem for me. Just a peculiar curiosity. I'm just providing feedback of what I see.happening on my phone. That's why I prefaced my message with fwiw.
[Android Apps and Games] Ines*:
Thanks for your answer. I just think the query referenced by [MENTION=2799345]M66B[/MENTION] is the wrong place to look.

I assume that by "their common thread" you mean messages belonging to a thread, displayed separately in non-threading mode in the message list.

So according to your setting, FE does not mark a message read when opening it? But the allegedly unread individual msg is shown read?

And if you go back to the message list, it is again shown unread? :confused:
[Android Apps and Games] M66B:
The original issue was:

So, I assumed unified inbox. The query for messages in a folder is similar through:

https://github.com/M66B/FairEmail/b...n/java/eu/faircode/email/DaoMessage.java#L120

Maybe I am overlooking something, but I don't see how this can happen.
[Android Apps and Games] Ines*:
IMHO it looks all good, the groups are derived from exactly one element in single message mode.

I assume the messages were (again) flagged unread on the server, unless observed otherwise.

So: are they really wrongly displayed by FE or were they never marked as read on the server (only locally) or were they unexpectedly marked again as unread (and then by whom and why). Or ...

So the queries are not the only place where to look. And they are probably the wrong place. Great stuff! :good:
[Android Apps and Games] M66B:
FairEmail will not sync the seen flag until all seen operations have been executed:

https://github.com/M66B/FairEmail/blob/master/app/src/main/java/eu/faircode/email/Core.java#L2230

So, the message can be set to unread again only if the seen status changes after all seen operations have been executed. Also, all operations are serialized, so this can't be happen out of band.
[Android Apps and Games] Ines*:
The cause might be found outside of FE.

I did not mean you to dig deeper without further information, spending more than a few processor cycles. ;) But thanks for explaining.
[Android Apps and Games] maybeme2:
Next time it happens I will take a screenshot.

Let's forget it for now.
[Android Apps and Games] heisert:
Got with latest version right now the too many simultanous connections failure. (Gmail)

But i was only on my home wlan and my device is laying on the table.

I know i could disable the warning but i never facing 2 times in a half hours the warning.

Something change in latest version?

Or just ignore it.
[Android Apps and Games] maybeme2:
Actually I misdescribed what happened. (Too many things and travel going on simultaneously in my life).

What I should have written:

Messages I have opened and read in FairEmail simply revert to unread status. May well be related to my occasionally using another app on my Windows 10 laptop to check (not download) my mail servers contents. Probably something beyond FairEmail's control. Just confusing to me because I only rarely use this Windows app to check my mail. So when 'read' messages revert to unread in FairEmail, it can be disorienting. The only connection to threading is that it 'seems' that when this happens it seems to affect an entire thread.

Sorry for the erroneous earlier description of events. In any case it is only an occasional event and not a major problem.
[Android Apps and Games] Ines*:
No problem, thanks for the clarification. (There really is no FE code that would explain only the subject/"thread title" being shown in bold ...)

So if you double tap such an 'unread' message, FE shows it read - and it remains read I guess. Which is a very strong indication if not a proof that the message was indeed unread on the server.

Are you 100% sure, you did not accidentally switch FE into conversation mode (accidentally double tapped a thread) and switched back to single message mode? I think this can be excluded. :)

Do you work on your laptop in conversation mode?

You got some ideas what to observe and how to gather more information. Good luck!

It is always better if strange things can be explained in the end. Whether it leads to a code change or not.
[Android Apps and Games] BreadedChicken:
Hi. First of all, sorry for the tardiness of my response. I just today got back from vacations.

Thank you for your response and your insightful message.

Obviously not trying to compare FairEmail to any other mail app, as FairEmail blows them all out of the water. The only detail I miss from k9, though, is that it does have a setting for both pop3 and imap accounts called "when I delete a message" locally that lets me choose to either delete it on server, keep it on server or just mark it as read on server. If I choose to just delete it locally, I kept my inbox clean and the message remained on the server if I needed it later. But from the info you provided, I gather the messages were just hidden.
[Android Apps and Games] M66B:
Please check if the causes in this FAQ apply:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq23
[Android Apps and Games] M66B:
I have just released version 1.886 1.887 1.888 1.889

Changelog/download:

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

This version will be available in the Play store too, which means that older versions are not supported anymore.

As always, please report any problem you discover, so it can be fixed.
[Android Apps and Games] Chris.B.:
Thanks to your message, I made others tests and I realized that, in fact, my last(several weeks) emails weren't correctly associated to my identity.

I didn't see it because with a unique identity, I didn't use the colors.

My tests showed that, if my regex contains the "[at]mydomain.fr", the identity isn't correctly associated.

I'm pretty sure that all worked well at the beginning with the complete regex "ab([0-z]+)[at]mydomain.fr" so I don't understand.

To conclure, by changing my regex only to "ab([0-z]+)", all works well : the messages are correctly associated to my identity and I can reply with the alias in all cases.
[Android Apps and Games] M66B:
Regex'es with a domain name never worked.

For clarity, the latest version will not fill in the username anymore if no identity was recognized.
[Android Apps and Games] gc01:
Not a biggie, but just curious what the reason for this might be? Technical reason with Regex or something else?

I can imagine some folks having user@dom1 as well as user2@dom2.
[Android Apps and Games] M66B:
There is no technical reason, it is just that only the username is editable and the regex is there to match edited usernames.
[Android Apps and Games] gc01:
Ah right ... got it. (Ignorance on my part, as not using this feature at moment).
[Android Apps and Games] M66B:
No worries.

If somebody want to use multiple domain names, it is possible to add multiple identities.
[Android Apps and Games] horazont:
I installed the most recent version from F-Droid, and the Collapse-on-mark-as-Read is very nice, thanks!

Is there a chance to get a mark-as-read button at the bottom of expanded messages?

Thank you very much for the quick response time!
[Android Apps and Games] M66B:
There is no room for such a button anymore and besides that it isn't a usual action because messages are marked read automatically on expanding.
[Android Apps and Games] M66B:
The response from the Oauth team makes me worry:
[Android Apps and Games] M66B:
The response from the Oauth team makes me worry:

I have sent them a message telling that everything was restored to the original situation and asking if the original permission and excemption for security audits still apply. If they answer with "no", there will be a serious problem.

In any case you can forget about authorizing Gmail accounts without on-device accounts, unless you sponsor me the money for the required security audits.
[Android Apps and Games] beeshyams:
Curious. What is the figure like?
[Android Apps and Games] M66B:
https://support.google.com/cloud/answer/9110914
[Android Apps and Games] beeshyams:
Oops. Wise decision to forego the option
[Android Apps and Games] guckuck:
What is the difference between the following settings?

Settings -> Receive -> When

Settings -> Principal -> Manage Account -> Chose Account -> Advanced -> Keep-alive/poll interval (minutes)

Background: I want to receive mails only every 1 or 2 hours. But it doesn't work. I also set the folder (inbox) to "Check periodically ..."

Best regards

Kay
[Android Apps and Games] M66B:
The keep-alive interval is to keep the connection alive for push messages.

The 'check periodically' folder setting is to disable push messages for the folder.

You'll want to change the receive/when settings to each 1/2 hours.

Please make sure you are using the latest version (1.889) because there were some fixes related to periodically checking for new messages.
[Android Apps and Games] gc01:
What do other email apps do? (k9 perhaps being the closest competitor)
[Android Apps and Games] M66B:
I deliberately don't look at other email apps, but I known that K9 mail has no Gmail OAuth support at all:

https://github.com/k9mail/k-9/issues/655
[Android Apps and Games] gc01:
Interesting thread - and some odd person who doesn't trust google but insists that using gmail is ok to trust via password - wow.

Anyway, clearly FE is way, way ahead ( not just on OAUTH )
[Android Apps and Games] camro:
Feature request: main menu, "show new emails"

Hello,

Migrated yesterday to fairemail from k9.

What i miss is todo my daily job optimized without clicking several steps.

There it would be nice to have possibility:

On overview (what i use to see my 6 emails accounts), i should also see the amount of unread emails (like as in side menu) + when i click the unread emails counter, that it shows them in the folder, and when i pressed that, i should filter automatically the view to show only the unread emails.

If i click the normal folder (not the counter of new unread emails), then show emails all (not filtering or use the previous for settings).

Do you understand what bi mean ?

Currently it is a lot of effort to do..

Cu camel
[Android Apps and Games] M66B:
The navigation menu is easily made visible by sliding from the edge of the screen inward where you can see the number of unread messages for accounts and folders.

Note that you can add any folder to the navigation menu by long pressing the folder in the folder list.

There is a filter for unread messages in the action bar/menu. There is an option to add filter buttons at the bottom of the screen, so you can filter messages with one tap. I guess you want to enable this.

Tapping on numbers is IMHO inconvenient (requires a precise tap) and not transparent (you need to know it is possible), so I have no plans to add this.

Edit: maybe you simply want unified accounts instead of unified messages on the start screen (display settings).
[Android Apps and Games] L.F.B.:
OMG google charges for using Oauth? Jeez... ? Im ok without it!?
[Android Apps and Games] M66B:
So, you are paying the security audit? ;)
[Android Apps and Games] M66B:
Google requires a security audit in some situations, but leaves the auditing to other companies.
[Android Apps and Games] Dark_Eyes_:
[MENTION=2799345]M66B[/MENTION] I ran into a strange bug on Monday and it happened today as well. Some of my work emails (office 365) won't download the content. I only have the header, and there is no way to make it download it. I tried resyncing the message, moving it around, it still doesn't work. Obviously, on my work pc the content is there.

On Monday I uninstalled FE and reinstalled it and ask the content downloaded fine. I thought it was a one time glitch, but this morning it happened again. It's weird because most emails are fine, but some are not.

What would you need to debug that?
[Android Apps and Games] M66B:
I guess this FAQ applies:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq110
[Android Apps and Games] camro:
very great support,

thx to k9 & google (missing oauth), that they pushed me to have a look for another email app.

finally, that was the best deal in this year !!!!!!!!!!!

were going for the PRO version, not as i need some features for now, but to give a little bit back to devel :)

and thx for great support !!

migrated and (almost 100%) satisfied !

cu camel

---------- Post added at 07:01 PM ---------- Previous post was at 06:58 PM ----------

a small thing, whatz is still not 100% clear for me is the regex ...

eg: using:

.*Build*|*complie*successful*

should be search for:

1.) all entries which having "Build"

OR

2.) all entries which having "compile" and after it -> having "successful"

but that is not working ...

what is the thinking problem here ?
[Android Apps and Games] M66B:
Try this website for building/testing a regex: https://regexr.com/
[Android Apps and Games] camro:
sorry, seems to be blind ...tried ....

eg:

^Reg.|.was.

Text: RegExr was created by

should find:

match beginning of line: "Reg"

OR

match anywhere "was"

but not working when i put into fairemail this string into regex

or do i need to add something in front ?

like: " or ' or . or / ?#
[Android Apps and Games] M66B:
A dot matches one character, is that really what you wanted?

Please see here for the Java regex spec:

https://developer.android.com/reference/java/util/regex/Pattern

Note that DOTALL is enabled for rules regex.

Maybe it is just simpler to create multiple rules instead of using an 'or'.
[Android Apps and Games] Dark_Eyes_:
Thanks, I overlooked it and it did the trick. Funny because I've been using FE for a while now with those exact same accounts and never had a problem before.

Thank you for you quick reply!
[Android Apps and Games] M66B:
I have just released version 1.890 1.891 1.892 1.893

Changelog/download:

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

A notable addition is that the storage space used on the server will be shown in the account list (if the provider supports this).

Please report any problem you discover, so it can be fixed.
[Android Apps and Games] M66B:
I got this response from the Google OAuth team:

So, I have tried again to explain that this is incorrect:

If this doesn't change, I will be forced to remove Gmail OAuth ...
[Android Apps and Games] nadir husain:
It seems they are still on holiday hangover:).
[Android Apps and Games] M66B:
Let's hope.

The only thing I can do is keep responding.
[Android Apps and Games] nadir husain:
Will we still be able to use on device Gmail accounts? Or will we need app specific passwords?
[Android Apps and Games] M66B:
If the security audit will be a requirement, it will not be possible to use on-device Gmail accounts anymore, since I will be forced to remove this.
[Android Apps and Games] nadir husain:
Let's hope for the best!
[Android Apps and Games] M66B:
I just got this back from the Google OAuth team:

which seems to indicate that FairEmail is being reviewed again. This might be a lengthy process again, but at least this is hopeful. Not that I am waiting to post a series of YouTube video again ...
[Android Apps and Games] M66B:
I have just added Yandex OAuth, which works without any problem and doesn't need any review ...

Edit: this is available in the just released version 1.891
[Android Apps and Games] M66B:
Since OAuth is now built into FairEmail, new OAuth providers can relatively easily be added.

So, please let me know for which provider you would like to see this added, but please check here first:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq111
[Android Apps and Games] M66B:
Since OAuth is now built into FairEmail, new OAuth providers can relatively easily be added.

So, please let me know for which provider you would like to see added, but please check here first:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq111
[Android Apps and Games] Stephan Windmüller:
This is a very helpful feature! However, I think it is quite hidden in the account list. Is there any way to access this list other than Settings/Principal/Setup accounts/Manage?

In my opinion this could be displayed more prominent, e.g. at the top of the folder list or directly in the navigation menu.
[Android Apps and Games] jaholm:
Searching a folder on moving a message behaves not very well.

When I going to move a message to a folder, there is now a field for searching the destination folder. This is very usefull. But this works only if all folders with sub folders are expanded. Normally all folders with sub folders are collapsed for a compact view.
[Android Apps and Games] heisert:
Really really nice and helpful new Feature. Thanks
[Android Apps and Games] M66B:
There is not enough room in the navigation menu and the folder list should show folder info and not account information.

Also, hopefully you don't need to look at these numbers all the time, so IMHO it is better to keep this out of way.

Edit: the next version will show the usage percentage (if available) in the subtitle of the folder list.
[Android Apps and Games] M66B:
The search will search through the visible folders only and this is how it is supposed to work.

I am aware that some want it this way and some want it in another way, but choices have to be made.
[Android Apps and Games] jaholm:
I wonder how much sense it makes to implement a search function without further functionality which only searches on 20 to 50 visible strings.

Always displaying 200 to 500 folders makes no sense at all.

If you do not want to change the search function it would be helpful to have an expand/collaps all folders function (or expand always all folders at moving). I think I had suggested this before.
[Android Apps and Games] Stephan Windmüller:
Hehe, I just logged in to suggest exactly this solution. Thank you! :D
[Android Apps and Games] M66B:
"Always displaying 200 to 500 folders makes no sense at all."

The whole point of collapsible folders is that you can collapse folders where you are not interested in, which applies to searching too.