fix: use fetch email in the account selector (#148)

Drew Smirnoff created

Change summary

tui/composer.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

tui/composer.go 🔗

@@ -447,7 +447,7 @@ func (m *Composer) View() string {
 		for i, acc := range m.accounts {
 			display := acc.Email
 			if acc.Name != "" {
-				display = fmt.Sprintf("%s (%s)", acc.Name, acc.Email)
+				display = fmt.Sprintf("%s (%s)", acc.Name, acc.FetchEmail)
 			}
 			if i == m.selectedAccountIdx {
 				accountList.WriteString(selectedItemStyle.Render(fmt.Sprintf("> %s", display)))