feat: Display formatted mailbox addresses (emailIdn) in UI layer#2784
Merged
FabianDevel merged 4 commits intomainfrom Feb 3, 2026
Merged
feat: Display formatted mailbox addresses (emailIdn) in UI layer#2784FabianDevel merged 4 commits intomainfrom
FabianDevel merged 4 commits intomainfrom
Conversation
Copilot
AI
changed the title
[WIP] Display formatted mailbox address in the UI
Display formatted mailbox addresses (emailIdn) in UI layer
Jan 21, 2026
Member
|
@copilot bump migration scheme, copy value of email to emailIdn in migration |
Contributor
Author
1bf4b76 to
e002377
Compare
e002377 to
0b9eaf6
Compare
624c5f6 to
5efff8b
Compare
…ddresses Co-authored-by: PhilippeWeidmann <5843044+PhilippeWeidmann@users.noreply.github.com>
Co-authored-by: PhilippeWeidmann <5843044+PhilippeWeidmann@users.noreply.github.com>
…tion Co-authored-by: PhilippeWeidmann <5843044+PhilippeWeidmann@users.noreply.github.com>
48384c8 to
ab4cda4
Compare
|
FabianDevel
approved these changes
Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Internationalized domain names were displaying in punycode format (
xn--mnchen-3ya.de) instead of Unicode (münchen.de). The backend providesemail_idnfield with the decoded representation.Changes
Data Model
emailIdnfield toMailboxwith@SerialName("email_idn")Database Migration
emailvalues toemailIdnfor existing Mailbox recordsemailIdnvalues when upgrading the appUI Updates (13 locations)
Example
Technical logging and API interactions continue using
mailbox.emailfor consistency.Original prompt
The goal of this PR is to display the formatted version of the mailbox address (emailIdn) in the drawer, in the settings and other places.
Check for other possible places in the UI layer where this could be used
You can check what was done on iOS with this patch
From 314b8df27e11487d8030bd2de88bbe43f6863d42 Mon Sep 17 00:00:00 2001
From: Ambroise Decouttere ambroise.decouttere@infomaniak.com
Date: Wed, 21 Jan 2026 10:25:48 +0100
Subject: [PATCH] fix: Clean mail address in Settings
Mail/Views/Settings/Mailbox/MailboxSettingsView.swift | 2 +-
Mail/Views/Settings/SettingsView.swift | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Mail/Views/Settings/Mailbox/MailboxSettingsView.swift b/Mail/Views/Settings/Mailbox/MailboxSettingsView.swift
index 62ee40904..4ae124cfb 100644
--- a/Mail/Views/Settings/Mailbox/MailboxSettingsView.swift
+++ b/Mail/Views/Settings/Mailbox/MailboxSettingsView.swift
@@ -44,7 +44,7 @@ struct MailboxSettingsView: View {
}
}
.background(MailResourcesAsset.backgroundColor.swiftUIColor)
diff --git a/Mail/Views/Settings/SettingsView.swift b/Mail/Views/Settings/SettingsView.swift
index b0fc8f734..01065c762 100644
--- a/Mail/Views/Settings/SettingsView.swift
+++ b/Mail/Views/Settings/SettingsView.swift
@@ -63,7 +63,7 @@ struct SettingsView: View {
Group {
SettingsSectionTitleView(title: myKSuite.isFree ? "my kSuite" : "my kSuite+")
@@ -97,7 +97,7 @@ struct SettingsView: View {
ForEachMailboxView(userId: currentUser.value.id,
excludedMailboxIds: [myKSuiteMailbox?.mailboxId ?? 0]) { mailbox in
if let mailboxManager = accountManager.getMailboxManager(for: mailbox) {
--
2.50.1 (Apple Git-155)
From d0150aa6d7696a4ec19e38a436bd615fcd31beb1 Mon Sep 17 00:00:00 2001
From: Ambroise Decouttere ambroise.decouttere@infomaniak.com
Date: Wed, 21 Jan 2026 12:01:03 +0100
Subject: [PATCH] fix: Clean mail address
Mail/Views/Menu Drawer/MailboxManagement/MailboxCell.swift | 2 +-
Mail/Views/New Message/Select Mailbox/AccountMailboxCell.swift | 2 +-
Mail/Views/Settings/General/SettingsNotificationsView.swift | 2 +-
MailNotificationServiceExtension/NotificationService.swift | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Mail/Views/Menu Drawer/MailboxManagement/MailboxCell.swift b/Mail/Views/Menu Drawer/MailboxManagement/MailboxCell.swift
index 91dc3d43d..d6c9f45b4 100644
--- a/Mail/Views/Menu Drawer/MailboxManagement/MailboxCell.swift
+++ b/Mail/Views/Menu Drawer/MailboxManagement/MailboxCell.swift
@@ -76,7 +76,7 @@ struct MailboxCell: View {
navigationDrawerState.close()
}
.mailFloatingPanel(isPresented: $isShowingLockedView) {
}
diff --git a/Mail/Views/New Message/Select Mailbox/AccountMailboxCell.swift b/Mail/Views/New Message/Select Mailbox/AccountMailboxCell.swift
index e6670dd04..45db1564b 100644
--- a/Mail/Views/New Message/Select Mailbox/AccountMailboxCell.swift
+++ b/Mail/Views/New Message/Select Mailbox/AccountMailboxCell.swift
@@ -33,7 +33,7 @@ struct AccountMailboxCell: View {
}
} label: {
Label {
diff --git a/Mail/Views/Settings/General/SettingsNotificationsView.swift b/Mail/Views/Settings/General/SettingsNotificationsView.swift
index ce43840bc..7f8b6da6a 100644
--- a/Mail/Views/Settings/General/SettingsNotificationsView.swift
+++ b/Mail/Views/Settings/General/SettingsNotificationsView.swift
@@ -92,7 +92,7 @@ struct SettingsNotificationsView: View {
subscribedTopics?.removeAll { $0 == mailbox.notificationTopicName }
}
...
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.