linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
324 stars 73 forks source link

Unable to configure display name on mobile app #1430

Closed guimard closed 1 year ago

guimard commented 1 year ago

Description

There is no menu entry to configure display name

Expected result

Parameters should allow to configure display name and then send mails using From: Display Name <user@domain.com>

Current behavior

Mails are sent using From: <user@domain.com>

Reproduction Steps

Install app, configure your JMAP account and send a test mail

Context

Mobile app on Android 12

hoangdat commented 1 year ago

hi @guimard,

You can set up the identities in Manage account -> Profiles

guimard commented 1 year ago

Hi @hoangdat, so I have to add an identity instead of being able to modify my primary identity ?

hoangdat commented 1 year ago

Hi, you can edit any identity, and add what you want. Then choosing the identity when composing new email.

image
guimard commented 1 year ago

I think Tmail app should be able to edit default identity (like other clients)

guimard commented 1 year ago

It works after adding new identity. Maybe Tmail should create de default one during JMAP enrollment ?

chibenwa commented 1 year ago

Yes, clearly @guimard you are pointing some user experience that would benefit from being improved.

@hoangdat is right, in JMAP, identity is the right concept to come up with in order to carry the Display name of the sender email address.

It's reasonable, at least to me, that we find a way for the backend to supply such a value.

Very likely we could get the display name from the LDAP and be able to pre-provision a reasonable default identity with reasonable display name from it, using tools like LSC. (LDAP is not a core dependency for James/Tmail backend).

I did open https://github.com/linagora/tmail-backend/issues/554 to handle such concerns.

quantranhong1999 commented 1 year ago

Hi, While we (as the backend side) could work on provisioning a default display name, I believe currently "User is able to edit default identity (like other clients)`.

Our JMAP Identity APIs do support retrieving default identities and modify those default identities.

I checked how FE calls identity APIs, there are 2 issues:

chibenwa commented 1 year ago

Solved. Closing...