yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] beeshyams:
[MENTION=2799345]M66B[/MENTION] if it helps

a) checked mailing myself with drafts and deletion behavior same as reported

b) Gmail on web shows zero drafts
[Android Apps and Games] M66B:
Sending yourself a message means that there will be a message in the sent folder too. In this case things work differently. Are you sure you are seeing a draft and not a sent message?
[Android Apps and Games] beeshyams:
You have a point when I send a mail to myself to check

But the other point (zero drafts) is surprising for the other mail which triggered this discussion. Since web mail shows zero drafts, I am wondering **naively**, if it is deleted but the status is somehow not updated in the conservation

Edit : If you have a Gmail account and are willing to share the ID, I can mail you and you may create a draft to see if the behavior is the same
[Android Apps and Games] M66B:
If you drafts folder set to synchronize messages?
[Android Apps and Games] beeshyams:
Yes. Every 15 minutes

Edit : I rechecked my draft folder and I see all drafts deleted unsuccessfully
[Android Apps and Games] Dark_Eyes_:
I double checked with the playstore version to make sure it wasn't me breaking anything, and I can confirm that deleting a Gmail message that is only in the archive folder doesn't work. The message disappears for a second and then reappears. The only way to get rid of the message is to move it to trash and then delete it. The message was recent enough to be synchronized with the server.

I also tried sending me an email from my Outlook to my Gmail (with my up-to-date build). Upon deleting the message in inbox, it is gone from inbox but it stays in archive. If I try to delete it from archive, it doesn't work (as before). I'll look into the folder settings to see if something could be causing it. Otherwise I have no idea why it works for you and not for me!
[Android Apps and Games] M66B:
I can reproduce this too now, but this doesn't seem to be a bug in FairEmail because the message really got deleted:

04-27 15:29:47.984 26475 18659 I System.out: DY87 STORE 271583 +FLAGS (\Deleted)
04-27 15:29:48.305 26475 18659 I System.out: * 271583 FETCH (FLAGS (\Seen \Deleted))
04-27 15:29:48.305 26475 18659 I System.out: DY87 OK Success
04-27 15:29:48.306 26475 18659 I System.out: DY88 EXPUNGE
04-27 15:29:48.427 26475 18659 I System.out: DY88 OK Success

The delete flag is set and an expunge command is being executed.
[Android Apps and Games] M66B:
[MENTION=5445418]Dark_Eyes_[/MENTION]

The Gmail IMAP settings here will make a difference, also explaining what is going on:

https://mail.google.com/mail/u/0/#settings/fwdandpop
[Android Apps and Games] Dark_Eyes_:
I see now! Only problem is you can't change the behavior with auto-expunge on. Setting auto-expunge off and Immediately delete the message forever seems to work, but there is still a copy on the web client in the archive folder that doesn't show in FairEmail. How is that possible? Does it have something to do with the Wait for the client to update the server message that shows beside the Auto-expunge off option?
[Android Apps and Games] M66B:
I have seen the same and I don't know. Gmail is odd, always have been.
[Android Apps and Games] M66B:
I like to hear a little more feedback about the new features like improved displaying of messages (custom rendering) and templates with images, also as an encouragement to continue with similar improvements.

High on my to do list are a better EML viewer, forwarding raw messages and more styling options in the composer, all a significant amount of work.
[Android Apps and Games] The_Two:
The new rendering works very well. I have not found any problems by looking on many mails. The rendering looks more accurate and nicer, even if I have not compared it side by side. Great job done.

Only, it seems that some fonts are a little bit smaller e.g. in Amazon delivery mails which is a little bit too small on my screen, but these are mails not optimized for a Smartphone.
[Android Apps and Games] wimstefan:
I just recently installed a version with the new rendering and so far it really works beautifully [emoji1360][emoji57]

A lot of the formatting of the original message is transferred which makes the rendered messages quite readable and switching to the original mail less frequent.

Thank you for that! [emoji1374]
[Android Apps and Games] Lonnie Reeder:
I too want to give a wonderful shout out about the new rendering that has been updated. Wonderful job. Thanks so much for the effort.
[Android Apps and Games] nadir husain:
Rendering is great! So cool
[Android Apps and Games] fraschi51:
What I said, in the mails of some senders the font is smaller.
[Android Apps and Games] M66B:
The font size is what the sender has set. You could disable different text sizes in the display settings.
[Android Apps and Games] nadir husain:
The options never end , do they? Marcel you are incredible!
[Android Apps and Games] fraschi51:
Thanks, I got it. Now the fonts are the same for all senders. :)
[Android Apps and Games] M66B:
I have just released version 1.1124

Changelog/download:

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

This version adds variable font sizes instead of the three fixed font sizes in previous versions.

Please report any issue you discover, so it can be fixed.
[Android Apps and Games] nadir husain:
Under which menu is the option to select font size. I am still getting the 3 sizes in the top right action bar
[Android Apps and Games] M66B:
That is not what the change is about: the font size in the message as set by the sender is relative variable now.

The scaling options are unchanged.
[Android Apps and Games] M66B:
[MENTION=5406377]Stirius[/MENTION] I have added images to templates for you, so some feedback would be appreciated.
[Android Apps and Games] beeshyams:
[MENTION=2799345]M66B[/MENTION]

?

1. Images for templates work fine

2. Thanks for "insert group" ;IDK if it was always there or you added it when I asked how (?), a couple of days ago :)

Resizing of sender image I suppose works only for newly arrived mails?
[Android Apps and Games] M66B:
Insert group has been sitting there for a long time ...
[Android Apps and Games] beeshyams:
OK.. I never needed it earlier, so never realized! Like you said recently, (too) many options but no complaints..Edit :Thanks for anticipation and including features before asking [MENTION=2799345]M66B[/MENTION]

BTW, a clarification on images in templates. If I have image A in my regular signature and I use image B for a template, then in the received mail (mailed myself to another account) has images B followed by A.

Is this by design? IMO only image B should appear or am I missing?
[Android Apps and Games] fraschi51:
If you have activated your signature, the picture A contained in it (under B or mail text) should of course also appear.
[Android Apps and Games] beeshyams:
I get it. Maybe my case is peculiar since I created a different signature to correspond with earlier veteran colleagues. I had a different logo for my Army colleagues and my regular signature is totally different.

So, ideally I need to disable signature before using template signature
[Android Apps and Games] fraschi51:
Templates are not for signatur but for mail(body)text.
[Android Apps and Games] Stirius:
Thanks, it seems to be working fine.
[Android Apps and Games] M66B:
How does the variable font size look in your messages?
[Android Apps and Games] wimstefan:
With the option "Show small and large texts" the proportions are out of balance: large text is over-dimensed and small text is nearly not readable anymore.

Device: Xiaomi Redmi Note 4

Screen resolution: 1920 x 1080

Screen density: 588 dp
[Android Apps and Games] M66B:
Can you please send me a raw message file of an example message?
[Android Apps and Games] maybeme2:
Question about the 'To' field in composing a new message.

I usually enter the first 2-3 letters of a contact name and FairEmail provides a list of contact names to pick from. I am wondering if there is a way to prioritize the sorting of certain frequently used names/email addresses over others in the list so they always appear first on the list instead of scrolling down the list to find them?

It would be nice if possible.
[Android Apps and Games] L.F.B.:
Sorry if it was asked before.

Im having problems on authenticate using vpn and its causing me lot of problems.

I need verifying all my accounts every time I use my vpn.

And if not doing this, they block my account and I need to change my password every time...

any help to solve this? thanks in advance.?
[Android Apps and Games] M66B:
In the send settings you'll find an option to sort on frequency of usage.
[Android Apps and Games] M66B:
Only the email provider can fix this because it is related to the IP address and network you are using. An app like FairEmail has no control over this.
[Android Apps and Games] ammarr:
[MENTION=2799345]M66B[/MENTION] hope you're doing well! For frequently used contacts in share menu, does it show frequently used 'overall' or those that I frequently send emails to?
[Android Apps and Games] M66B:
That depends on if you enabled contacts from received and/or send messages in the send settings.
[Android Apps and Games] M66B:
I have just released version 1.1125 on GitHub.

Changelog/download:

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

The version fixes zooming in combination with variable font sizes.

I had assumed 1 pt (point) = 1 px (pixel) so far, but it appears that most browsers consider 1 pt = 0.75 px, causing some fonts to show too small.

Please report any issue you discover, so it can be fixed.
[Android Apps and Games] L.F.B.:
Can I disable fairmail synchronization wen Im using VPN?

then, I think, I will not get verify account Everytime...

I think this will save me account verification all the time...
[Android Apps and Games] M66B:
You can disable FairEmail in the receive settings or with a settings tile, see this FAQ:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq30
[Android Apps and Games] L.F.B.:
Nice! Ive just discovered on quick settings a FairEmal sync button!

thats great! ???
[Android Apps and Games] maybeme2:
Wow! The option was there before I even knew I needed it.....

Thanks.
[Android Apps and Games] beeshyams:
I hope your yes includes earlier point about restore too
[Android Apps and Games] M66B:
All accounts, folders, identities are exported and imported. You can check the contents of the export file.
[Android Apps and Games] beeshyams:
Marcel , I am not disputing that. Let me try to clarify

Two scenarios on importing

1. User just installs the app, imports and sets up passwords (didn't try this). This seems to be the expected behavior

2. User installs the app, sets up the account passwords (since passwords are not backed up) and imports settings. He has now duplicate accounts as it happened with me

Both behaviors are reasonable

To me restore process should accommodate both user behavior. If not it should be suitably explained in documentation.

Minor point but these kind of things should be ironed out in pre release phase (and we are talking of a user who has purchased pro and can leave a poor grading because of this)

Edit: I don't know how to read json files but backup hopefully includes standard replies too. Since you didn't mention
[Android Apps and Games] M66B:
The new release shows a message before exporting and importing to clarify things.
[Android Apps and Games] M66B:
The backup includes everything, including standard replies.

Edit: a little secret: you can use these placeholders in standard replies:

$name$ will be replaced by the name of the sender (if any)

$email$ will be replaced by the email address of the sender (if any)
[Android Apps and Games] BreckZeBoulay:
May be it has been already discuss, sorry if it's the case.

Why now synchronization is not limited to the number of days which is setup in the folder config ?

When I go into a folder, headers of older emails are now automatically downloaded.
[Android Apps and Games] beeshyams:
That's nice. Can't upvote anymore
[Android Apps and Games] M66B:
This is a new feature, live browse on the server. You can disable it in the advanced options if you don't want it.
[Android Apps and Games] BreckZeBoulay:
Sorry but I don't find it :eek:
[Android Apps and Games] M66B:
Setup > Advanced options > Browse messages on the server

Edit: added to FAQ:

https://github.com/M66B/open-source-email/blob/master/FAQ.md#FAQ24
[Android Apps and Games] heinhuiz:
Stumbled upon this in the FAQ:

You might want to change that answer to: "You can use a Microsoft exchange account if it is accessible via IMAP. (...)" A bit shorter and more clear.

I was looking for an answer for the question how long local messages are retained. They are deleted when they get older than the number of days synced, I presume?
[Android Apps and Games] M66B:
Suggestions like this are appreciated, so thanks. The FAQ has been updated.

Messages are deleted if they are older than the number of days synced on the next sync (in practice when connectivity changes). This applies to browsed messages too.
[Android Apps and Games] BreckZeBoulay:
Good idea !

May be you can also add that it's only the headers. And fetching is also done before the number of days in the folder config.

Not sure to be clear..... :rolleyes:
[Android Apps and Games] TheMadRuffian:
I just wanted to clarify whether the icon for FairEmail is intended to be enclosed in a circular mask or it is just my default launcher setting causing it to be masked.
[Android Apps and Games] glops:
Hello,

[MENTION=2799345] M66B[/MENTION]

I do not have any problem of connection with (GMAIL)

it's just trying to help those who have a connection problem with GMAIL

this problem occurs when you first log in with FairEmail to GMAIL or after a backup restoration

the connection is granted with full synchronization, but just after,

Gmail blocks this connection and can not connect again see screenshot

you receive a security email from Gmail,

you have to open on pc and you have to confirm that you are the author of this connection,

after Gmail does not block this connection

sorry for my bad english (google translation)
[Android Apps and Games] M66B:
This is how your launcher displays things.
[Android Apps and Games] m0d:
Not so sure,

I also get something similar,

Whereas most other apps have nothing encapsulating icon,

I believe this depends on developers, using proper icons. Or, following google guidelines to the word when they never do so themselves.

¯\_(ツ)_/¯

?
[Android Apps and Games] heinhuiz:
It is proper, but is has a grey background instead of transparent like you are expecting. That is a design choice, I suppose.
[Android Apps and Games] M66B:
All icons are generated with Android studio, so they are guaranteed as Google intended them.

Transparent background is not possible anymore when targeting recent Android versions. All app will eventually have to conform to this.
[Android Apps and Games] beeshyams:
Thanks for your help

I also restored and didn't realize that my password was not authorized since I was getting incoming mails

In my case I get this very unhelpful message and the only way out is to delete accounts and set up again

[MENTION=2799345]M66B[/MENTION] You may see more of these from Gmail users. Checking the account in the set up after restore (even Titanium) sails through but you can't send mails :(

One way to avoid this could be to change the restore mechanism to overwrite so that one sets up fresh with password and simply imports back up
[Android Apps and Games] Dark_Eyes_:
I've been looking a bit more into that issue, and I think I have found something. In the logcat, when deleting a message in the archive folder, there is a MessageRemovedException. It was there everytime I tried.

04-29 00:09:17.506 E/fairemail(24900): [Gmail]/All Mail javax.mail.MessageRemovedException

That might explain why there is still a message in the All mail folder on the web server, because the deleted flag never got there when the expunge command is sent. I'll try to find the cause of that MessageRemovedException, but I figured you might find it much faster than me :)
[Android Apps and Games] M66B:
MessageRemovedException is actually good because that will cause FairEmail to remove the message ...

https://github.com/M66B/FairEmail/blob/master/app/src/main/java/eu/faircode/email/Core.java#L995
[Android Apps and Games] heinhuiz:
Your problem is probably solved if your VPN provider lets you choose the country where the server you connect to resides. I experienced the same as you describe with gmail, but only when I would connect via servers in different countries.
[Android Apps and Games] Dark_Eyes_:
What I meant was the MessageRemovedException happens in the onDelete function, which means the DELETED flag is never sent to the server for that particular message (or maybe I'm missing how the try function works in Java...). Then the expunge() function is called, but the server didn't have a DELETED flag for the message so it stays there.

It's still very strange the Delete permanently keeps a message on the All mail folder on the server. Something is not working, and I think for some reason it has to do with that error in logcat.
[Android Apps and Games] M66B:
The exception will be in this case only if the message was deleted already.
[Android Apps and Games] Dark_Eyes_:
Only thing is it's not. I know everything looks fine in the onDelete function, but could it be that the server uid or msgid isn't the same anymore as the one in FairEmail? Or Gmail needs more than the DELETED flag to kill the message in All mail? Sure thing is, the message is kept on the server.

I just can't have to log in the web server every now and then to delete archived messages I wanted deleted... Also, they are deleted from FairEmail, but I guess a complete Sync will bring them back since they still exist on the server?
[Android Apps and Games] M66B:
The delete flag and the expunge command is all there is.

Edit: I don't get a MessageRemovedException when permanently deleting an archived message. The message is also deleted because synchronizing again doesn't fetch the message again. The message is still visible in the archive folder in the Gmail web interface, which is in my opinion a bug in Gmail.
[Android Apps and Games] M66B:
I have just released version 1.1126 1.1127

Changelog/download:

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

This is a maintenance release and a release candidate for the next Play store version.

Please report any issue you discover, so it can be fixed.
[Android Apps and Games] sbstn22:
New gmail emails are not shown

Hello. Great mail app. Everything works fine. But in my google mail account new emails are not shown. If I log in with Thunderbird on my windows PC all new emails are shown. But it seems FairEmail on Android is not getting new emails. I am connected with imap.
[Android Apps and Games] M66B:
Gmail works fine for me and many others.

Please check if receiving is set to always and that the account/folders are set to synchronize and are connected (see the legend for what the icons mean).
[Android Apps and Games] sbstn22:
Synchronisation is already set to: Always

Gmail shows two symbols: a grey cloud (connected) and a shield (oauth). But can't get new emails.
[Android Apps and Games] M66B:
Please send me the debug info by long pressing support in the navigation menu for inspection. Please include a short problem description, so I know what it is about.
[Android Apps and Games] sbstn22:
Thanks. I've done this now.
[Android Apps and Games] M66B:
You are using a VPN, which will result in problems with receiving and sending email, especially for Gmail.

Email providers are trying to prevent spam by blocking VPNs.

There are more than a few read timeouts, also for your other accounts, likely caused by the VPN too.
[Android Apps and Games] sbstn22:
The only vpn i use is the local one from Netguard firewall.
[Android Apps and Games] M66B:
Still there are read timeouts, indicating connectivity issues, which is the core of your problem.
[Android Apps and Games] sbstn22:
How can I do this?
[Android Apps and Games] M66B:
I am not sure what you want to do, but start with disabling 'Apply rules and conditions' in NetGuard for FairEmail.

Please see here what happens when there are connection problems:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq123
[Android Apps and Games] sbstn22:
Have done this now. But even don't getting mails on gmail.
[Android Apps and Games] M66B:
In the referenced FAQ is explained how you can force a sync.
[Android Apps and Games] sbstn22:
Have done this already. Again no mails in gmail folders. I want to quit my gmail account. So I move all my mails today to another account and quit gmail.
[Android Apps and Games] fraschi51:
A very wise decision. ;)
[Android Apps and Games] thelonglife:
Hello, I have a problem with receiving mails/synchronization.

I do receive the mails but it takes quite some time (5-10 minutes, sometimes more) compared to Gmail app where I receive the email almost instantly.

I have 2 accounts (hotmail and gmail) and I'm having the same problem with both.

Synchronizing the inbox manually doesn't work. Loading indicator just keeps spinning and no mails are being fetched.

Receiving mode is set to Always.

I'm using the Xiaomi Redmi Note 8 (I disabled the battery optimization)
[Android Apps and Games] M66B:
Please send me the debug info by long pressing 'Support' in the navigation menu for inspection. Please include a short problem description.
[Android Apps and Games] andy356:
[MENTION=2799345]M66B[/MENTION] [MENTION=5445418]Dark_Eyes_[/MENTION] So the correct way to delete an email in the case of a Gmail account is to first send the mail to trash and then delete it, instead of deleting it permanently, which leaves a duplicate in the All Mail folder?
[Android Apps and Games] M66B:
Yes, it seems so.

Note that there will be no duplicate on IMAP, only in the Gmail web interface.
[Android Apps and Games] M66B:
I have just released version 1.1128

Changelog/download:

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

Please report any issue you discover, so it can be fixed.
[Android Apps and Games] andy356:
I'm not sure I understand that fully. For context, FairEmail currently shows me an email in All Mail that I recently 'permanently deleted' from my Inbox folder.
[Android Apps and Games] M66B:
Please check your Gmail settings via here:

https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq153

Permanently deleting from the inbox will not delete from the archive folder. Permanently deleting from the archive folder might or might not delete the message from the archive, depending on the Gmail settings, but in any case it won't be deleted from the web interface.
[Android Apps and Games] kzshantonu:
Hi. So everyday I (and I'm sure many users) select multiple messages, mark them all as read, then archive them. Mark as read is way up towards the top of the phone (I have 5 email accounts) where it's quite hard to reach. Would be nice if it was near where the archive button is. Regards
[Android Apps and Games] M66B:
I guess you can simplify this by enabling to automatically mark messages as read on moving messages in the behavior settings.
[Android Apps and Games] womefa:
Hello,

for the "remove tracking from links in newsletter" feature: Steams tracking URLs are looking like this:

https://store.steampowered.com/app/911760/Fruit_Tower_Defense/?snr=1_624_4_1440_45_2

Hope this is helpful :)
[Android Apps and Games] andy356:
Wow. I just tried to access these settings through Gmail's mobile interface and... You just can't. If you're on a mobile browser, you can barely change any setting. That is... wow.

Anyway, I found the setting through the desktop browser. I assume that the correct option is the third one, "Immediately delete the message forever"? Moving to the Bin seems just the same as tapping the trash button.
[Android Apps and Games] M66B:
That's the right option.
[Android Apps and Games] andy356:
Oh no. I didn't pay close attention to it before. The setting is greyed out! The other three IMAP settings aren't. My account is haunted, I tell you.