Se você tiver alguma pergunta, verifique primeiro as perguntas mais frequentes abaixo. No final, você pode descobrir como fazer outras perguntas, solicitar recursos e relatar erros.
Se ela falhar, você precisará definir manualmente uma conta (para receber e-mails) e uma identidade (para enviar e-mails). Para isso, você precisará dos endereços de servidor IMAP e SMTP e dos números de porta, selecionar se deve utilizar SSL/TLS ou STARTTLS e por fim, seu nome de usuário (normalmente, mas não sempre, seu e-mail) e sua senha.
Em alguns casos, você precisará permitir acesso externo à sua conta e/ou usar uma senha especial (aplicativo), como nos casos em que a autenticação de dois fatores estiver ativada.
* Mudar o nome da conta: Configuração, etapa 1, Gerenciar, toque em conta
* Mudar a função do deslizar para a esquerda/direita: Configuração, Comportamento, Definir ações de deslizar
* Mudar a senha: Configuração, etapa 1, Gerenciar, toque em conta, mudar senha
* Definir uma assinatura: Configuração, etapa 2, Gerenciar, toque em identidade, Editar assinatura.
* Adicionar endereços CC e BCC: toque no ícone de pessoas ao final do assunto
* Ir para a próxima/anterior mensagem no arquivo/excluídos: na configuração de comportamente desative *Fechar conversas automaticamente* e seleciona *Ir para a próxima/anterior mensagem* em *Ao fechar uma conversa*
* Adicionar uma pasta à caixa de entrada unificada: toque e segure a pasta na lista de pastas e marque *Mostrar na caixa de entrada unificada*
* Adicionar uma pasta ao menu de navegação: toque e segure a pasta na lista de pastas e marque *Mostrar no menu de navegação*
* Carregar mais mensagens: toque e segure a pasta na lista de pastas, selecione *Sincronizar mais mensagens*
* Deletar uma mensagem, sem enviar à lixeira: nos três pontos logo acima do texto da mensagem selecione, *Deletar* ou alternativamente, desmarque a lixeira nas configurações da conta
* Deletar uma conta/identidade: Configuração, etapa 1/2, Gerenciar, toque na conta/identidade, três pontos, Deletar
* Apagar uma pasta: toque e segure a pasta na lista de pastas, Editar propriedades, três pontos, Deletar
* Desfazer envio: Caixa de saída, toque na mensagem, toque no botão com ícone de desfazer
* Armazenas mensagens enviadas na caixa de entrada: por favor [veja esse FAQ](#user-content-faq142)
* Mudar pastas do sistema: Configuração, etapa 1, Gerenciar, toque na conta, procure na parte inferior
* Exportar/importar configurações: Configuração, navegação/menu de hambúrguer
## Problemas conhecidos
* ~~Um [problema nos Androids 5.1 e 6](https://issuetracker.google.com/issues/37054851) faz com que o aplicativo mostre um formato de hora errado. Habilitar a configuração do Android *Usar formato de 24 horas* pode resolver esse problema temporariamente. Uma solução alternativa foi adicionada.~~
* ~~Um [problema no Google Drive](https://issuetracker.google.com/issues/126362828) faz com os arquivos exportados para o Google Drive fiquem vazios. O Google consertou isso.~~
* ~~Um [problema no AndroidX](https://issuetracker.google.com/issues/78495471) faz com que o FairEmail ocasionalmente trave ao tocar e segurar ou deslizar no app. O Google consertou isso.~~
* ~~Um [problema na ROOM do AndroidX](https://issuetracker.google.com/issues/138441698) causa algumas vezes um travamento com a mensagem "*... Exceção ao computar dados ativos do banco de dados ... Nor foi possível ler a linha ...*". Uma solução alternativa foi adicionada.~~
* Um [problema no Android](https://issuetracker.google.com/issues/119872129) faz com que o FairEmail trave com a mensagem "*... Notificação incorreta postada ...*" em alguns dispositivos uma vez após atualizar o FairEmail e tocar em uma notificação.
* Um [problema no Android](https://issuetracker.google.com/issues/62427912) às vezes causa um travamento com a mensagem "*... Registro de Atividades não encontrado para ...*" após atualizar o FairEmail. Reinstalar a ([causa](https://stackoverflow.com/questions/46309428/android-activitythread-reportsizeconfigurations-causes-app-to-freeze-with-black)) pode corrigir o problema.
* Um [problema no Android](https://issuetracker.google.com/issues/37018931) às vezes causa um travamento com a mensagem *... Canal de Entrada não inicializado ...* em alguns dispositivos.
* ~~Um [problema no LineageOS](https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/265273) às vezes causa um travamento com a mensagem *... java.lang.ArrayIndexOutOfBoundsException> length=...; index=... ...*.~~
* Um problema no Nova Launcher no Android 5.x faz com que o FairEmail trave com a mensagem *java.lang.StackOverflowError* quando o Nova Launcher tem acesso aos serviços de acessibilidade.
* ~~O seletor de pastas às vezes mostra sem pastas por razões ainda desconhecidas. Isso parece ter sido consertado.~~
* ~~Um [problema no AndroidX](https://issuetracker.google.com/issues/64729576) torna difícil selecionar a rolagem rápida. Uma solução alternativa foi adicionada.~~
* ~~Criptografia com YubiKey resulta em um loop (ciclo) infinito. Isso parece ser causado por um [problema no OpenKeychain](https://github.com/open-keychain/open-keychain/issues/2507).~~
* Rolar para um local com link interno nas mensagens originais não funciona. Não é possível corrigir porque a visualização de mensagem original é limitada na visualização de rolagem.
* A pré-visualização do texto de uma mensagem não aparece (sempre) nos relógios Samsung porque [setLocalOnly](https://developer.android.com/reference/androidx/core/app/NotificationCompat.Builder.html#setLocalOnly(boolean)) parece ser ignorado. É sabido que a pré-visualização do texto de mensagens é exibida corretamente nos relógios Pebble 2, Fitbit Charge 3, e Mi band 3. Veja também [ esse FAQ](#user-content-faq126).
## Funcionalidades planejadas
* ~~Sincronização sob demanda (manual)~~
* ~~Criptografia semi-automática~~
* ~~Copiar mensagem~~
* ~~Estrelas coloridas~~
* ~~Configurações de notificação por pasta~~
* ~~Selecionar imagens locais para assinaturas~~ (isso não será adicionado porque requer gerenciamento de imagens e porque as imagens não são mostradas por padrão na maioria dos clientes de e-mail)
* ~~Mostrar mensagens que correspondam a uma regra~~
* ~~[Gerenciar Filtros](https://tools.ietf.org/html/rfc5804)~~ (não existem bibliotecas Java mantidas com uma licença adequada e sem dependências e, além disso, o FairEmail tem suas próprias regras de filtro)
* ~~Procurar por mensagens com/sem anexos~~ (isso não pode ser adicionado porque o IMAP não suporta a busca por anexos)
* ~~Porcurar por uma pasta~~ (é problemático filtrar uma lista de pastas hierarquizadas)
* ~~Sugestões de Pesquisa~~
* ~~[Configuração de Mensagens do Autocrypt](https://autocrypt.org/autocrypt-spec-1.0.0.pdf) (seção 4.4)~~ (na minha opinião, não é uma boa ideia permitir que um cliente de e-mail lide com chaves criptografadas sensíveis para o caso de um uso excepcional, já que o OpenKeychain pode exportar chaves também)
* ~~Pastas unificadas genéricas~~
* Nova programação de notificação de mensagens por conta~~ (implementado adicionando uma condição de tempo às regras, para que as mensagens possam ser adiadas durante períodos selecionados)
* ~~Copiar contas e identidades~~
* ~~Zoom ao aproximar dois dedos~~ (não é possível com segurança em uma lista de rolagem; em vez disso, a visualização de mensagem completa pode ser ampliada)
* ~~Visualização de pastas mais compacta~~
* ~~Criar listas e tabelas~~ (requer um editor de texto completo, veja [nessa FAQ](#user-content-faq99))
* ~~Temas~~ (temas escuro e cinza claro foram adicionados porque é isso que a maioria das pessoas parece querer)
* ~~Qualquer condição de hora do dia~~ (qualquer dia realmente não se encaixa na condição de/para dia/horário)
* ~~Enviar como anexo~~
* ~~Widget para a conta selecionada~~
* ~~Lembrete para anexar arquivos~~
* ~~Selecionar domínios para mostrar imagens~~ (isso será muito complicado de utilizar)
* ~~Visualização unificada de mensagens marcadas~~ (já existe uma busca especial para isso)
* ~~Ação de mover notificação~~
* ~~Suporte a S/MIME~~
* ~~Busca por configurações~~
Tudo que está nessa lista está em ordem aleatória e *pode* ser adicionado em um futuro próximo.
## Funcionalidades solicitadas frequentemente
O design é baseado em várias discussões e, se quiser, você pode discutir sobre isso também [nesse fórum](https://forum.xda-developers.com/android/apps-games/source-email-t3824168). O objetivo do design é ser minimalista (sem menus e botões desnecessários, etc) e sem distrações (sem cores bonitas, animações, etc). Todas as coisas exibidas devem ser úteis de uma forma ou outra e devem ser cuidadosamente posicionadas para fácil uso. Fontes, tamanhos, cores etc devem ser de design simples sempre que possível.
## Perguntas Frequentes (FAQ)
* [(1) Quais permissões são necessárias e por quê?](#user-content-faq1)
* [(2) Porque a notificação é mostrada de forma permanente?](#user-content-faq2)
* [(3) O que são operações e porque elas estão pendentes?](#user-content-faq3)
* [(4) Como posso usar um certificado de segurança inválido / senha em branco / conexão de texto simples?](#user-content-faq4)
* [(5) Como posso personalizar a visualização de mensagens?](#user-content-faq5)
* [(6) Como posso fazer login com Gmail / G Suite?](#user-content-faq6)
* [(7) Por que as mensagens enviadas não estão aparecendo (diretamente) na pasta enviados?](#user-content-faq7)
* [(8) Posso usar uma conta do Microsoft Exchange?](#user-content-faq8)
* [(9) O que são identidades / como adicionar apelidos (alias)?](#user-content-faq9)
* [~~(11) Porque POP não é suportado?~~](#user-content-faq11)
* [~~(10) O que 'UIDPLUS não suportado' significa?~~](#user-content-faq10)
* [(12) Como funciona a criptografia/descriptografia?](#user-content-faq12)
* [(13) Como funciona a pesquisa no dispositivo/servidor?](#user-content-faq13)
* [(14) Como posso configurar uma conta do Outlook / Live / Hotmail?](#user-content-faq14)
* [(15) Porque o texto da mensagem continua carregando?](#user-content-faq15)
* [(16) Porque as mensagens não estão sendo sincronizadas?](#user-content-faq16)
* [~~(17) Porque a sincronização manual não funciona?~~](#user-content-faq17)
* *acesso completo à rede* (INTERNET): para enviar e receber e-mails
* *ver conexões de rede* (ACCESS_NETWORK_STATE): para monitorar mudanças de conectividade com a internet
* *abrir ao iniciar* (RECEIVE_BOOT_COMPLETED): para iniciar o monitoramento ao ligar o dispositivo
* *serviço de primeiro plano* (FOREGROUND_SERVICE): para rodar como um serviço de primeiro plano no Android 9 Pie e posteriores, veja também a próxima pergunta
* *evitar que o dispositivo hiberne* (WAKE_LOCK): para manter o dispositivo ativado durante a sincronização de mensagens
* *compras no aplicativo* (BILLING): para permitir compras no aplicativo
* Opcional: *ler seus contatos* (READ_CONTACTS): para preencher endereços automaticamente e mostrar fotos
* Opcional: *ler o conteúdo do seu cartão de memória* (READ_EXTERNAL_STORAGE): para aceitar mensagens de outros aplicativos desatualizados, veja também [ este FAQ](#user-content-faq49)
* Opcional: *usar hardware de impressão digital* (USE_FINGERPRINT) e *usar hardware de biometria* (USE_BIOMETRIC): para utilizar autenticação biométrica
* Opcional: *encontrar contas no dispositivo* (GET_ACCOUNTS): para selecionar uma conta ao utilizar a configuração rápida do Gmail
* Android 5.1 Lollipop e anteriores: *usar contas no dispositivo* (USE_CREDENTIALS): para selecionar uma conta quando estiver usando a configuração rápida do Gmail (não é solicitada nas versões posteriores do Android)
* Android 5.1 Lollipop e anteriores: *Ler perfil* (READ_PROFILE): para ler seu nome quando estiver a configurção rápida do Gmail (não é solicitada nas versões posteriores do Android)
[Permissões opcionais](https://developer.android.com/training/permissions/requesting) são concedidas automaticamente apenas no Android 6 Marshmallow e posteriores. Nas versões anteriores do Android você será solicitado a conceder as permissões opcionais ao instalar o FairEmail.
O FairEmail manterá uma lista de endereços dos quais você recebe mensagens e para os quais você envia e utilizará essa lista como sugestão de contatos quando a permissão para ler seus contatos não for concedida ao FairEmail. Isso significa que você pode utilizar o FairEmail mesmo sem o provedor de contatos do Android (livro de endereços). Observe que você ainda pode escolher contatos sem conceder a permissão para ler seus contatos. Apenas a sugestão de contatos não irá funcionar sem a concessão dessa permissão.
Uma notificação de baixa prioridade com o número de contas monitoradas e o número de operações pendentes (veja a próxima pergunta) é exibida na barra de status de forma permanente para evitar que o Android encerre o serviço que possibilita o contínuo recebimento de e-mails. Isso [ já era necessário](https://developer.android.com/reference/android/app/Service.html#startForeground(int,%20android.app.Notification)) antes, mas com a introdução do [Modo Doze](https://developer.android.com/training/monitoring-device-state/doze-standby) no Android 6 Marshmallow isso se tornou mais necessário do que nunca. O Modo Doze irá fechar todos os aplicativos depois de algum tempo que a tela estiver desligada, a menos que o aplicativo inicie em primeiro plano, o que requer a exibição de uma notificação na barra de status.
A maioria, se não todos, os outros aplicativos de e-mail não mostram uma notificação, com o "efeito colateral" de que novas mensagens muitas vezes não são relatadas ou são relatadas tardiamente e mensagens acabam não sendo enviadas ou são enviadas tardiamente.
O Android mostra os ícones de alta prioridade primeiro na barra de status e irá esconder o ícone do FairEmail se não houver mais espaço para mostrar ícones. Na prática, isso significa que a notificação do FairEmail não ocupa espaço na barra de status, a não ser que exista espaço sobrando.
* Android 8 Oreo and later: tap the *Receive channel* button and disable the channel via the Android settings (this won't disable new message notifications)
* Android 7 Nougat e anterior: toque em *Usar o serviço em segundo plano para sincronizar mensagens*, mas lembre-se de ler o comentário abaixo da configuração
Você pode alternar para a sincronização periódica de mensagens nas configurações de recebimento para remover a notificação, mas esteja ciente de que isso pode usar mais bateria. Veja [aqui](#user-content-faq39) para mais detalhes sobre o uso de bateria.
Android 8 Ore pode exibir também uma notificação na barra de status com a mensagem * Aplicativos estão sendo executados em segundo plano*. Por favor, veja [aqui](https://www.reddit.com/r/Android/comments/7vw7l4/psa_turn_off_background_apps_notification/) sobre como desativar essa notificação.
Algumas pessoas sugeriram o uso do [Firebase Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/) (FCM) ao invés de um serviço do Android com uma notificação na barra de status, mas isso requer que os provedores de mensagens enviem mensagens FCM ou a existência de um servidor central onde todas as mensagens são coletadas enviando mensagens FCM. A primeira opção não irá acontecer e a última terias implicações significativas em termos de privacidade.
**(3) O que são operações e por que elas estão pendentes?**
A notificação de baixa prioridade na barra de status mostra o número de operações pendentes, que podem ser:
* *a adicionar*: adicionar mensagens a uma pasta remota
* *a mover*: mover mensagens para outra pasta remota
* *a copiar*: copiando mensagens para outra pasta remota
* *a buscar*: buscando mensagens alteradas
* *a deletar*: deletando mensagens de uma pasta remota
* *a ver*: marcando mensagens como lidas/não lidas na pasta remota
* *a responder*: marcando mensagens como respondidas na pasta remota
* *a marcar*: adicionando/removendo estrelas (marcações) na pasta remota
* *palavra-chave*: adicionando/removendo uma marcação IMAP na pasta remota
* *a etiquetar*: definindo/redefinindo etiquetas do Gmail na pasta remota
* *cabeçalhos*: baixando cabeçalhos de mensagens
* *texto bruto*: baixando uma mensagem bruta
* *corpo*: baixando a mensagem propriamente dita
* *anexo*: baixando anexos
* *a sincronizar*: sincronizando mensagens locais e remotas
* *a inscrever*: inscrevendo em uma pasta remota
* *a limpar*: apagando todas as mensagens da pasta remota
* *a enviar*: enviando mensagens
* *a checar*: checando se a mensagens existe
* *regra*: executando uma regra no texto do corpo
Operações são processadas somente quando há uma conexão com o servidor de e-mail ou quando é feita a sincronização manual. Veja também [esse FAQ](#user-content-faq16).
Você deve tentar corrigir isso entrando em contato com seu provedor ou obtendo um certificado de segurança válido porque certificados de segurança inválidos são inseguros e permitem os chamados [ ataques man-in-the-middle](https://en.wikipedia.org/wiki/Man-in-the-middle_attack). Se dinheiro for um obstáculo, você pode obter certificados de segurança gratuitos no [Let's Encrypt](https://letsencrypt.org).
Alternativamente, você pode aceitar a impressão digital mostrada abaixo da mensagem de erro, se você configurou a conta e/ou identidade nas etapas de configuração 1 e 2 (isso não é possível ao utilizar o assistente de configuração rápida). Observe que você deve se certificar de que a conexão com a intertet que você está utilizando é segura.
Observe ainda que versões mais antigas do Android podem não reconhecer as autoridades de certificados mais recentes como o Encrypt, fazendo com que as conexões sejam consideradas inseguras, veja também [aqui](https://developer.android.com/training/articles/security-ssl).
*... java.security,cet.CertPathValidatorException: Trust anchor for certification path not found ...* significa que o gerenciador de confiança padrão do Android não pôde verificar a cadeia de certificados do servidor.
Seu nome de usuário, senha e todas as mensagens serão enviadas e recebidas sem criptografia, o que é **muito inseguro** porque um [ataque man-in=the-middle](https://en.wikipedia.org/wiki/Man-in-the-middle_attack) é muito fácil em uma conexão não criptografada.
Se ainda assim você quiser utilizar um certificado inválido, uma senha em branco ou uma conexão de texto simples, você precisará habilitar conexões inseguras nas configurações de conta/identidade. O STARTTLS deve ser utilizado para conexões de texto simples. Se você habilitar conexões inseguras, você deve se conectar através de redes privadas e confiáveis e nunca através de redes públicas, como as oferecidas em hóteis, aeroportos etc.
* *Caixa de entrada unificada*: para desativar a caixa de entrada unificada e mostrar pastas distintas no lugar da caixa unificada
* *Agrupar por data*: mostrar cabeçalhos de data acima de mensagens com a mesma data
* *Junção de conversas*: para dasativar a junção de conversas e mostrar mensagens de forma individual
* *Exibir fotos de contatos*: para ocultar fotos de contatos
* *Exibir ícones de identificação*: para mostrar avatares de contato gerados
* *Exibit nomes e endereços de e-mail*: para exibir nomes ou exibir nomes e endereços de e-mail
* *Mostrar assunto em itálico*: para exibir o assunto como um texto normal
* *Mostrar estrelas*: para ocultar estrelas (marcações)
* *Mostrar pré-visualização da mensagem*: para exibir duas linhas do texto da mensagem
* *Mostrar detalhes do endereço por padrão*: para expandir a seção de endereços por padrão
* *Usar fonte monoespaçada para a mensagem*: para mostrar um tipo de texto com largura fixa para mensagens
* *Exibir automaticamente a mensagem original para contatos conhecidos*: para mostrar automaticamente a mensagem original para contatos no seu dispositivo, por favor veja [esse FAQ](#user-content-faq35)
* *Exibir automaticamente imagens para contatos conhecidos*: para exibir automaticamente imagens para contatos no seu dispositivo, por favor veja [esse FAQ](#user-content-faq35)
* *Barra de ação da conversa*: para desativar a barra de navegação inferior
Observe que as mensagens só podem ser pre-visualizadas quando o texto delas tiver sido baixado. Mensagens grandes não são baixadas por padrão em redes limitadas (geralmente em dados móveis). Você pode alterar isso nas configurações.
Se você não quiser usar uma conta do Gmail salva em seu dispositivo, você pode ativar o acesso a "aplicativos menos seguros" e usar a senha de sua conta ou habilitar a autenticação em duas etapas e usar uma senha de específica de aplicativo. Por favor, [veja essa FAQ](#user-content-faq111) sobre o porque apenas contas salvas no dispositivo podem ser usadas.
**Importante**: Contas do G Suite autorizadas com um nome de usuário/senha irão deixar de funcionar [em um futuro próximo](https://gsuiteupdates.googleblog.com/2019/12/less-secure-apps-oauth-google-username-password-incorrect.html).
Veja [aqui](https://support.google.com/accounts/answer/6010255) sobre como habilitar "aplicativos menos seguros" ou vá [diretamente para as configurações](https://www.google.com/settings/security/lesssecureapps).
Esteja ciente de que você você precisa sair da tela de configuração "aplicativos menos seguros" usando a seta que aponta para trás para aplicar a configuração.
Se você utilizar esse método, você deve usar uma [senha forte](https://en.wikipedia.org/wiki/Password_strength) para sua conta do Gmail, o que de todo modo é uma boa ideia. Observe que utilizar o protocolo IMAP [padrão](https://tools.ietf.org/html/rfc3501) por si só não é menos seguro.
Quando a configuração "aplicativos menos seguros" não estiver habilitada, você receberá a mensagem de erro *Autenticação falhou - credenciais inválidas* para contas (IMAP) e *Usuário ou Senha não aceitos* para identidades (SMTP).
Talvez você receba o alerta "*Por favor, faça login através de seu navegador*". Isso acontece quando o Google considera que a rede que te conecta à internet (que pode ser uma CPN) não é segura. Isso pode ser evitado utilizando o assistente de configuração rápida do Gmail ou uma senha específica do aplicativo.
Veja [aqui](https://support.google.com/mail/answer/7126229) as instruções do Google e clique [aqui](https://support.google.com/mail/accounts/answer/78754) para buscar a solução de problemas.
As mensagens geralmente são movidas da caixa de saída para a pasta de enviados assim que seu provedor as adiciona à pasta de enviados. Isso requer que você selecione uma pasta de enviados nas configurações da conta e que seja definida uma pasta de enviados a ser sincronizada.
Alguns provedores não acompanham as mensagens enviadas ou o SMTP usado pode não estar relacionado ao provedor. Nesses casos, o FairEmail irá automaticamente adicionar à pasta de enviados as mensagens enviadas ao fazer a sincronização da pasta de enviados, o que irá acontecer após a mensagem ser enviada. Observe que isso resultará em tráfego extra de internet.
~~Se isso não acontecer, seu provedor talvez não acompanhe as mensagens enviadas ou talvez você esteja utilizando um servidor de SMTP que não tem relação com o provedor.~~ ~~Nesses casos, você pode ativar a configuração avançada de identidade *Armazenar mensagens enviadas* para permitir que o FairEmail adicione mensagens enviadas à pasta de enviados logo após a mensagem ser enviada.~~~~Observe que habilitar essa configuração pode resultar em duplicação de mensagens, se o seu provedor por natureza já adicionar as mensagens enviadas à pasta de enviados também.~~~~Além disso, saiba que ativar essa configuração irá resultar em maior uso de armazenamento, especialmente quando for feito o envio de mensagens com grandes anexos.~~
~~Se as mensagens enviadas presentes na caixa de saída não forem encontradas na pasta de enviados após uma sincronização completa, elas serão movidas da caixa de saída para a caixa de enviados também.~~ ~~Uma sincronização completa acontece quando há uma reconexão com o servidor ou pode acontecer periodicamente e/ou manualmente.~~~~Você provavelmente vai querer ativar a configuração avançada *Armazenar mensagens enviadas* ao invés disso, para mover as mensagens para a pasta de enviados mais cedo.~~
Você pode usar uma conta do Microsoft Exchange se ela for acessível via IMAP, o que normalmente é o caso. Clique [aqui](https://support.office.com/en-us/article/what-is-a-microsoft-exchange-account-47f000aa-c2bf-48ac-9bc2-83e5c6036793) para mais informações.
Por favor veja [aqui](https://support.office.com/en-us/article/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040)o documento da Microsoft sobre como configurar um cliente de e-mail. Há também uma seção sobre os erros de conexão mais comuns e soluções.
Algumas versões antigas de servidores do Exchange têm um problema que faz com as mensagens apareçam vazias e com anexos corrompidos. Por favor, veja [esse FAQ](#user-content-faq110) para obter uma solução alternativa.
Alguns provedores permitam que você possua múltiplos apelidos (aliases). Você pode configurá-los definindo o campo do endereço de e-mail de uma identidade adicional como o endereço do alias e definindo o campo do nome de usuário como seu e-mail principal.
Como alternativa, você pode ativar *Permitir a edição do endereço do remetente* nas configurações avançadas de uma identidade existente para editar o nome de usuário ao escrever uma nova mensagem, se seu provedor permitir isso.
O FairEmail irá automaticamente atualizar as senhas de identidades relacionadas quando você atualizar a senha de uma conta associada ou uma identidade relacionada.
~~A mensagem de erro *UIDPLUS não suportado* significa que seu provedor não fornece a [extensão UIDPLUS](https://tools.ietf.org/html/rfc4315) do IMAP. Essa extensão do IMAP é necessária para implementar a sincronização dupla, o que não é um recurso opcional. Então, a menos que seu provedor possa ativar essa extensão, você não poderá utilizar o FairEmail para esse provedor.~~
~~Além do fato de que qualquer provedor de e-mail decende suporta [IMAP](https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol) hoje em dia,~~ ~~usar [POP](https://en.wikipedia.org/wiki/Post_Office_Protocol) resultará em uso extra de bateria e atraso na notificação de novas mensagens.~~~~Além disso, POP é incompatível com a sincronização dupla e, mais do que nunca, as pessoas leem e escrevem mensagens em diferentes aparelhos hoje em dia.~~
~~Basicamente, POP suporta apenas o download e a exclusão de mensagens da caixa de entrada.~~ ~~Então, funções simples como definir atributos de mensagens (lido, marcado, respondido etc), adicionar (fazer backup) e mover mensagens não é possível.~~
~~Por exemplo, [o Gmail pode importar mensagens](https://support.google.com/mail/answer/21289) de outra conta POP,~~ ~~o que pode ser usado como uma alternativa para quando o seu provedor não tiver suporte a IMAP.~~
Para assinar/criptografar uma mensagens, basta selecionar o método apropriado na caixa de diálogo de envio. Você pode sempre abrir a caixa de diálogo de envio usando o menu de três pontos, no caso de você ter selecionado *Não mostrar novamente* anteriormente.
Para verificar a assinatura ou descriptografar uma mensagem, abra a mensagem e apenas toque no sinal ou no ícone de cadeado logo abaixo da barra de ação da mensagem.
Na primeira vez que você enviar uma mensagem assinada/criptografada, talvez uma chave de assinatura seja solicitada. O FairEmail irá armazenar automaticamente a chave de assinatura selecionada na identidade utilizada para a próxima vez. Se você precisar redefinir a cgave de assinatura, apenas salve a identidade ou toque e segure a identidade na lista de identidades e selecione *Redefinir chave de assinatura*. A chave de assinatura selecionada é visível na lista de identidades. Se você precisar selecionar chaves diferentes para cada situação, você pode criar múltiplas identidades para a mesma conta com o mesmo endereço de e-mail.
Nas configurações de privacidade você pode selecionar o método de criptografia padrão (PGP ou S/MIME), habilitar *Assinar por padrão*, *Criptografar por padrão* e *Descriptografar mensagens automaticamente*, mas saiba que a descriptografia automática não é possível se forem necessárias ações do usuário, como selecionar uma chave ou ler um token de segurança.
O texto/anexo das mensagens a serem criptografadas e o texto/anexo das mensagens descriptografadas são armazenados apenas localmente e nunca serão adicionados ao servidor remoto. Se você quiser desfazer a descriptografia, você pode utilizar a opção *ressincronizar* no menu de três pontos da barra de ação de mensagens.
Você precisará instalar e configurar o [OpenKeychain](https://f-droid.org/en/packages/org.sufficientlysecure.keychain/) primeiro. O FairEmail foi testado com o OpenKeychain versão 5.4. Versões posteriores provavelmente serão compatíveis, mas versões anteriores podem não ser.
**Importante**: O aplicativo OpenKeychain é conhecido por (silenciosamente) falhar quando o aplicativo chamado (FairEmail) não é autorizado ainda e está recebendo uma chave pública existente. Você pode contornar isso tentando enviar uma mensagem assinada/criptografada a um remetente com uma chave pública desconhecida.
**Importante**: Se o aplicativo OpenKeychain não conseguir encontrar (mais) uma chave, talvez você precise redefinir uma chave previamente selecionada. Isso pode ser feito ao tocar e segurar em uma identidade na lista de identidades (Configuração, etapa 2, Gerenciar).
**Importante**: para permitir que aplicativos como o FairEmail se conectem correttamente com o serviço do OpenKeychain para criptografar/descriptografar mensagens, talvez seja necessário desativar a otimização de bateria do aplicativo OpenKeychain.
**Importante**: em alguns dispositivos ou versões do Android é necessário ativar *Mostrar popups durante a execução em segundo plano* nas permissões adicionais das configurações do Android para o OpenKeychain. Sem essas permissões, o rascunho será salvo, mas o popup do OpenKeychain para confirmar/selecionar pode não aparecer.
O FairEmail irá enviar os cabeçalhos do [Autocrypt](https://autocrypt.org/) para ser usado por outros clientes de e-mail e enviar cabeçalhos do Autocrypt recebidos para o aplicativo do OpenKeychain para armazenagem.
Toda a manipulação de chaves é delagado ao aplicativo Openkeychain por razões de segurança. Isso também significa que o FairEmail não armazena chaves PGP.
O uso de PGP criptografado embutido em mensagens recebidas é suportado, mas o uso de assinaturas PGP embutidas e PGP embutido em mensagens enviadas não é suportado, veja [aqui](https://josefsson.org/inline-openpgp-considered-harmful.html) porque não.
* *No key*: there is no PGP key available for one of the listed email addresses
* *Missing key for encryption*: there is probably a key selected in FairEmail that does not exist in the OpenKeychain app anymore. Resetting the key (see above) will probably fix this problem.
Chaves privadas são armazenas pelo Android e podem ser importadas através das configurações avançadas de segurança do Android. Há um atalho (botão) para isso nas configurações de privacidade. O Android pedirá que você defina um PIN, padrão ou senha se você ainda não fez antes. Se você tiver um dispositivo da Nokia com Android 9, por favor, [leia isso primeiro](https://nokiamob.net/2019/08/10/a-bug-prevents-nokia-1-owners-from-unlocking-their-screen-even-with-right-pin-pattern/).
Note que certificados podem conter múltiplas chaves para múltiplas finalidade, como por exemplo autenticação, criptografia e assinatura. O Android apeenas importa a primeira chave, então para importar todas as chaves, o certificado deve ser dividido primeiro. Isso não é muito trivial e recomenda-se pedir apoio ao fornecedor do certificado para obter suporte.
O método de criptografia padrão é PGP, mas o último método de criptografia utilizado será lembrado para a identidade selecionada da próxima vez. Talvez você tenha que habilitar as opções de envio no menu de três pontos novamente para poder selecionar o método de criptografia.
Para permitir diferentes chaves privadas para o mesmo endereço de e-mail, o FairEmail irá sempre permitir que você selecione uma chave quando existirem várias identidades com o mesmo endereço de e-mail para a mesma conta.
Chaves públicas são armazenadas pelo FairEmail e podem ser importadas ao verificar uma assinatura pela primeira vez ou através das configurações de privacidade (formato PEM ou DER).
* *Nenhum certificado encontrado correspondendo ao targetContraints*: isso significa que você está usando uma versão antiga do FairEmail
* *Não foi possível encontrar um caminho de certificado válido para o alvo requisitado*: basicamente isso significada que um ou mais intermediários ou certificados de raiz não foram encontrados
* *A chave privada não corresponde a nenhuma chave de criptografia*: a chave selecionada não pode ser usada para descriptografar a mensagem, provavelmente porque ela não é a chave correta
* *Nenhuma chave privada*: nenhum certificado foi selecionado ou nenhum certificado estava disponível no armazenamento de chaves do Android
No caso de a cadeia de certificados estar incorreta, você pode clicar no pequeno botão de informação para mostrar todos os certificados. Após os detalhes do certificados, o emissor ou "selfSign" é exibido. Um certificado é auto-assinado quando o destinatário e o emissor são os mesmos. Certificados de uma autoridade certificadora (CA) são marcados com "[keyCertSign](https://tools.ietf.org/html/rfc5280#section-4.2.1.3)". Certificados encontrados no armazenamento de chaves do Android são marcadas com "Android".
Observe que uma cadeia de certificados irá sempre ser inválida quando nenhum certificado de ancoragem puder ser encontrado no armazenamento de chaves do Android, o que é fundamental para a validação de certificados S/MIME.
Por favor, veja [aqui](https://support.google.com/pixelphone/answer/2844832?hl=en) como você pode importar certificados no armazenamento de chaves do Android.
Se você estiver procurando um certificado S/MIME gratuito (teste), veja aqui [aqui](http://kb.mozillazine.org/Getting_an_SMIME_certificate) as opções. Por favor, certifique-se de [ler isso primeiro](https://davidroessli.com/logs/2019/09/free-smime-certificates-in-2019/#update20191219) se você quiser solicitar um certificado S/MIME Actalis.
You can start searching for messages on sender (from), recipient (to, cc, bcc), subject, keywords or message text by using the magnify glass in the action bar of a folder. You can also search from any app by selecting *Search email* in the copy/paste popup menu.
Searching in the unified inbox will search in all folders of all accounts, searching in the folder list will search in the associated account only and searching in a folder will search in that folder only.
Messages will be searched for on the device first. There will be an action button with a search again icon at the bottom to continue searching on the server. You can select in which folder to continue the search.
The IMAP protocol doesn't support searching in more than one folder at the same time. Searching on the server is an expensive operation, therefore it is not possible to select multiple folders.
Searching local messages is case insensitive and on partial text. The message text of local messages will not be searched if the message text was not downloaded yet. Searching on the server might be case sensitive or case insensitive and might be on partial text or whole words, depending on the provider.
Some servers cannot handle searching in the message text when there are a large number of messages. For this case there is an option to disable searching in the message text.
It is possible to use Gmail search operators by prefixing a search command with *raw:*. If you configured just one Gmail account, you can start a raw search directly on the server by searching from the unified inbox. If you configured multiple Gmail accounts, you'll first need to navigate to the folder list or the archive (all messages) folder of the Gmail account you want to search in. Please [see here](https://support.google.com/mail/answer/7190) for the possible search operators. For example:
`
raw:larger:10M`
Searching through a large number of messages on the device is not very fast because of two limitations:
* [sqlite](https://www.sqlite.org/), the database engine of Android has a record size limit, preventing message texts from being stored in the database
* Android apps get only limited memory to work with, even if the device has plenty memory available
This means that searching for a message text requires that files containing the message texts need to be opened one by one to check if the searched text is contained in the file, which is a relatively expensive process.
In the *miscellaneous settings* you can enable *Build search index* to significantly increase the speed of searching on the device, but be aware that this will increase battery and storage space usage. The search index is based on words, so searching for partial text is not possible. Searching using the search index is by default AND, so searching for *apple orange* will search for apple AND orange. Words separated by commas result in searching for OR, so for example *apple, orange* will search for apple OR orange. Both can be combined, so searching for *apple, orange banana* will search for apple OR (orange AND banana). Using the search index is a pro feature.
From version 1.1315 it is possible to use search expressions like this:
```
apple +banana -cherry ?nuts
```
This will result in searching like this:
```
("apple" AND "banana" AND NOT "cherry") OR "nuts"
```
Search expressions can be used for searching on the device via the search index and for searching on the email server, but not for searching on the device without search index for performance reasons.
Searching on the device is a free feature, using the search index and searching on the server is a pro feature.
An Outlook / Live / Hotmail account can be set up via the quick setup wizard and selecting *Outlook*.
To use an Outlook, Live or Hotmail account with two factor authentication enabled, you need to create an app password. See [here](https://support.microsoft.com/en-us/help/12409/microsoft-account-app-passwords-two-step-verification) for the details.
See [here](https://support.office.com/en-us/article/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040) for Microsoft's instructions.
The message header and message body are fetched separately from the server. The message text of larger messages is not being pre-fetched on metered connections and need to be fetched on opening the message. The message text will keep loading if there is no connection to the account, see also the next question.
You can check the account and folder list for the account and folder state (see the legend for the meaning of the icons) and the operation list accessible via the main navigation menu for pending operations (see [this FAQ](#user-content-faq3) for the meaning of the operations).
In the receive settings you can set the maximum size for automatically downloading of messages on metered connections.
Mobile connections are almost always metered and some (paid) Wi-Fi hotspots are too.
Possible causes of messages not being synchronized (sent or received) are:
* The account or folder(s) are not set to synchronize
* The number of days to synchronize message for is set too low
* There is no usable internet connection
* The email server is temporarily not available
* Android stopped the synchronization service
So, check your account and folder settings and check if the accounts/folders are connected (see the legend in the navigation menu for the meaning of the icons).
If there are any error messages, please see [this FAQ](#user-content-faq22).
On some devices, where there are lots of applications competing for memory, Android may stop the synchronization service as a last resort.
Some Android versions stop apps and services too aggressively. See [this dedicated website](https://dontkillmyapp.com/) and [this Android issue](https://issuetracker.google.com/issues/122098785) for more information.
Disabling battery optimizations (setup step 4) reduces the chance Android will stop the synchronization service.
The right question is "*why are there so many taxes and fees?*":
* VAT: 25 % (depending on your country)
* Google fee: 30 %
* Income tax: 50 %
*<sub>Paypal fee: 5-10 % depending on the country/amount</sub>
So, what is left for the developer is just a fraction of what you pay.
Note that only some convenience and advanced features need to be purchased which means that FairEmail is basically free to use.
Also note that most free apps will appear not to be sustainable in the end, whereas FairEmail is properly maintained and supported, and that free apps may have a catch, like sending privacy sensitive information to the internet.
I have been working on FairEmail almost every day for more than two years, so I think the price is more than reasonable. For this reason there won't be discounts either.
If a purchased pro feature doesn't work as intended and this isn't caused by a problem in the free features and I cannot fix the problem in a timely manner, you can get a refund. In all other cases there is no refund possible. In no circumstances there is a refund possible for any problem related to the free features, since there wasn't paid anything for them and because they can be evaluated without any limitation. I take my responsibility as seller to deliver what has been promised and I expect that you take responsibility for informing yourself of what you are buying.
Before Android 8 Oreo: there is an advanced option in the setup for this.
Android 8 Oreo and later: see [here](https://developer.android.com/training/notify-user/channels) about how to configure notification channels. You can use the button *Manage notifications* in the setup to directly go to the Android notification settings. Note that apps cannot change notification settings, including the notification light setting, on Android 8 Oreo and later anymore. Apps designed and targeting older Android versions might still be able to control the contents of notifications, but such apps cannot be updated anymore and recent Android versions will show a warning that such apps are outdated.
Sometimes it is necessary to disable the setting *Show message preview in notifications* or to enable the settings *Show notifications with a preview text only* to workaround a bug in Android. This might apply to notification sounds and vibrations too.
Setting a light color before Android 8 is not supported and on Android 8 and later not possible.
FairEmail does not hide errors like similar apps often do, so it is easier to diagnose problems.
FairEmail will automatically try to connect again after a delay. This delay will be doubled after each failed attempt to prevent draining the battery and to prevent from being locked out permanently.
There are general errors and errors specific to Gmail accounts (see below).
The error *... Authentication failed ...* or *... AUTHENTICATE failed ...* likely means that your username or password was incorrect. Some providers expect as username just *username* and others your full email address *username@example.com*. When copying/pasting to enter a username or password, invisible characters might be copied, which could cause this problem as well. Some password managers are known to do this incorrectly too. The username might be case sensitive, so try lowercase characters only. The password is almost always case sensitive. Some providers require using an app password instead of the account password, so please check the documentation of the provider. Sometimes it is necessary to enable external access (IMAP/SMTP) on the website of the provider first. Other possible causes are that the account is blocked or that logging in has been administratively restricted in some way, for example by allowing to login from certain networks / IP addresses only.
The error *... Too many bad auth attempts ...* likely means that you are using a Yahoo account password instead of an app password. Please see [this FAQ](#user-content-faq88) about how to setup a Yahoo account.
The message *... +OK ...* likely means that a POP3 port (usually port number 995) is being used for an IMAP account (usually port number 993).
The errors *... invalid greeting ...*, *... requires valid address ...* and *... Parameter to HELO does not conform to RFC syntax ...* can likely be solved by changing the advanced identity setting *Use local IP address instead of host name*.
The errors *... Couldn't connect to host ...*, *... Connection refused ...* or *... Network unreachable ...* mean that FairEmail was not able to connect to the email server.
The error *... Host is unresolved ...* or "*... Unable to resolve host ...* means that the address of the email server could not be resolved. This might be caused by ad blocking or an unreachable or not properly working [DNS](https://en.wikipedia.org/wiki/Domain_Name_System) server.
The error *... Software caused connection abort ...* means that the email server or something between FairEmail and the email server actively terminated an existing connection. This can for example happen when connectivity was abruptly lost. A typical example is turning on flight mode.
The error *... Connection closed by peer ...* might be caused by a not updated Exchange server, see [here](https://blogs.technet.microsoft.com/pki/2010/09/30/sha2-and-windows/) for more information.
The errors *... Read error ...*, *... Write error ...*, *... Read timed out ...*, *... Broken pipe ...* mean that the email server is not responding anymore or that the internet connection is bad.
The error *... Unexpected end of zlib input stream ...* means that not all data was received, possibly due to a bad or interrupted connection.
The error *... connection failure ...* could indicate [Too many simultaneous connections](#user-content-faq23).
The warning *... Unsupported encoding ...* means that the character set of the message is unknown or not supported. FairEmail will assume ISO-8859-1 (Latin1), which will in most cases result in showing the message correctly.
Please [see here](#user-content-faq4) for the errors *... Untrusted ... not in certificate ...*, *... Invalid security certificate (Can't verify identity of server) ...* or *... Trust anchor for certification path not found ...*
Please [see here](#user-content-faq127) for the error *... Syntactically invalid HELO argument(s) ...*.
Please [see here](#user-content-faq41) for the error *... Handshake failed ...*.
See [here](https://linux.die.net/man/3/connect) for what error codes like EHOSTUNREACH and ETIMEDOUT mean.
Possible causes are:
* A firewall or router is blocking connections to the server
* The email server is refusing to accept a message, for example because it is too large or contains unacceptable links
* There are too many connections to the server, see also the next question
Many public Wi-Fi networks block outgoing email to prevent spam. Sometimes you can workaround this by using another SMTP port. See the documentation of the provider for the usable port numbers.
If you are using a [VPN](https://en.wikipedia.org/wiki/Virtual_private_network), the VPN provider might block the connection because it is too aggressively trying to prevent spam. Note that [Google Fi](https://fi.google.com/) is using a VPN too.
SMTP servers can reject messages for [a variety of reasons](https://en.wikipedia.org/wiki/List_of_SMTP_server_return_codes). Too large messages and triggering the spam filter of an email server are the most common reasons.
* The attachment size limit for Gmail [is 25 MB](https://support.google.com/mail/answer/6584)
* The attachment size limit for Outlook and Office 365 [is 20 MB](https://support.microsoft.com/en-us/help/2813269/attachment-size-exceeds-the-allowable-limit-error-when-you-add-a-large)
* The attachment size limit for Yahoo [is 25 MB](https://help.yahoo.com/kb/SLN5673.html)
The authorization of Gmail accounts setup with the quick wizard needs to be periodically refreshed via the [Android account manager](https://developer.android.com/reference/android/accounts/AccountManager). This requires contact/account permissions and internet connectivity.
The errors *... Authentication failed ... No token on refresh ...* means that the Android account manager failed to refresh the authorization of a Gmail account.
The error *... Authentication failed ... Invalid credentials ... network error ...* means that the Android account manager was not able to refresh the authorization of a Gmail account due to problems with the internet connection
The error *... Authentication failed ... Invalid credentials ...* could be caused by having revoked the required account/contacts permissions. Just start the wizard (but do not select an account) to grant the required permissions again.
The eror *... ServiceDisabled ...* might be caused by enrolling in the [Advanced Protection Program](https://landing.google.com/advancedprotection/): "*To read your email, you can (must) use Gmail - You won’t be able to use your Google Account with some (all) apps & services that require access to sensitive data like your emails*", see [here](https://support.google.com/accounts/answer/7519408?hl=en&ref_topic=9264881).
Alerts are warning messages sent by email servers.
*Too many simultaneous connections* or *Maximum number of connections exceeded*
This alert will be sent when there are too many folder connections for the same email account at the same time.
Possible causes are:
* There are multiple email clients connected to the same account
* The same email client is connected multiple times to the same account
* Previous connections were terminated abruptly for example by abruptly losing internet connectivity
First try to wait some time to see if the problem resolves itself, else:
* either switch to periodically checking for messages in the receive settings, which will result in opening folders one at a time
* or set some folders to poll instead of synchronize (long press folder in the folder list, edit properties)
The maximum number of simultaneous folder connections for Gmail is 15, so you can synchronize at most 15 folders simultaneously on *all* your devices at the same time. For this reason Gmail *user* folders are set to poll by default instead of synchronize always. When needed or desired, you can change this by long pressing a folder in the folder list and selecting *Edit properties*. See [here](https://support.google.com/mail/answer/7126229) for details.
When using a Dovecot server, you might want to change the setting [mail_max_userip_connections](https://doc.dovecot.org/settings/dovecot_core_settings/#mail-max-userip-connections).
Browse messages on the server will fetch messages from the email server in real time when you reach the end of the list of synchronized messages, even when the folder is set to not synchronize. You can disable this feature in the advanced account settings.
When a menu item to select/open/save a file is disabled (dimmed) or when you get the message *Storage access framework not available*, the [storage access framework](https://developer.android.com/guide/topics/providers/document-provider), a standard Android component, is probably not present. This might be because your custom ROM does not include it or because it was actively removed (debloated).
FairEmail does not request storage permissions, so this framework is required to select files and folders. No app, except maybe file managers, targeting Android 4.4 KitKat or later should ask for storage permissions because it would allow access to *all* files.
The storage access framework is provided by the package *com.android.documentsui*, which is visible as *Files* app on some Android versions (notable OxygenOS).
You can enable the storage access framework (again) with this adb command:
```
pm install -k --user 0 com.android.documentsui
```
Alternatively, you might be able to enable the *Files* app again using the Android app settings.
If you would like your name or alias to be included in the list of contributors in *About* the app, please [contact me](https://contact.faircode.eu/?product=fairemailsupport).
Note that downloading external images from a remote server can be used to record you did see a message, which you likely don't want if the message is spam or malicious.
In the setup you'll find a button *Manage notifications* to directly navigate to the Android notifications settings for FairEmail.
On Android 8.0 Oreo and later you can manage the properties of the individual notification channels, for example to set a specific notification sound or to show notifications on the lock screen.
FairEmail has the following notification channels:
* Service: used for the notification of the synchronize service, see also [this FAQ](#user-content-faq2)
* Send: used for the notification of the send service
* Notifications: used for new message notifications
* Warning: used for warning notifications
* Error: used for error notifications
See [here](https://developer.android.com/guide/topics/ui/notifiers/notifications#ManageChannels) for details on notification channels. In short: tap on the notification channel name to access the channel settings.
On Android before Android 8 Oreo you can set the notification sound in the settings.
See [this FAQ](#user-content-faq21) if your device has a notification light.
Just long press a folder, select *Edit properties*, and enable either *Show in unified inbox* or *Notify new messages* (available on Android 7 Nougat and later only) and tap *Save*.
There are quick settings (settings tiles) available to:
* globally enable/disable synchronization
* show the number of new messages and marking them as seen (not read)
Quick settings require Android 7.0 Nougat or later. The usage of settings tiles is explained [here](https://support.google.com/android/answer/9083864).
Identities are as expected matched by account. For incoming messages the *to*, *cc*, *bcc*, *from* and *(X-)delivered/envelope/original-to* addresses will be checked (in this order) and for outgoing messages (drafts, outbox and sent) only the *from* addresses will be checked.
The matched address will be shown as *via* in the addresses section.
Note that identities needs to be enabled to be able to be matched and that identities of other accounts will not be considered.
Matching will be done only once on receiving a message, so changing the configuration will not change existing messages. You could clear local messages by long pressing a folder in the folder list and synchronize the messages again though.
It is possible to configure a [regex](https://en.wikipedia.org/wiki/Regular_expression) in the identity settings to match the username of an email address (the part before the @ sign).
Note that the domain name (the parts after the @ sign) always needs to be equal to the domain name of the identity.
If you like to match the special purpose email addresses abc@example.com and xyx@example.com and like to have a fallback email address main@example.com as well, you could do something like this:
Matched identities can be used to color code messages. The identity color takes precedence over the account color. Setting identity colors is a pro feature.
Viewing remotely stored images (see also [this FAQ](#user-content-faq27)) might not only tell the sender that you have seen the message, but will also leak your IP address.
Opening attachments or viewing an original message might load remote content and execute scripts, that might not only cause privacy sensitive information to leak, but can also be a security risk.
Note that your contacts could unknowingly send malicious messages if they got infected with malware.
FairEmail formats messages again causing messages to look different from the original, but also uncovering phishing links.
Note that reformatted messages are often better readable than original messages because the margins are removed, and font colors and sizes are standardized.
The Gmail app shows images by default by downloading the images through a Google proxy server. Since the images are downloaded from the source server [in real-time](https://blog.filippo.io/how-the-new-gmail-image-proxy-works-and-what-this-means-for-you/), this is even less secure because Google is involved too without providing much benefit.
You can show images and original messages by default for trusted senders on a case-by-case basis by checking *Do not ask this again for ...*.
If you want to reset the default *Open with* apps, please [see here](https://www.androidauthority.com/how-to-set-default-apps-android-clear-621269/).
* The 256 bit key is generated with *PBKDF2WithHmacSHA1* using a 128 bit secure random salt and 65536 iterations
* The cipher is *AES/CBC/PKCS5Padding*
<br/>
<aname="faq37"></a>
**(37) How are passwords stored?**
All supported Android versions [encrypt all user data](https://source.android.com/security/encryption), so all data, including usernames, passwords, messages, etc, is stored encrypted.
If the device is secured with a PIN, pattern or password, you can make the account and identity passwords visible. If this is a problem because you are sharing the device with other people, consider to use [user profiles](https://www.howtogeek.com/333484/how-to-set-up-multiple-user-profiles-on-android/).
**(39) How can I reduce the battery usage of FairEmail?**
Recent Android versions by default report *app usage* as a percentage in the Android battery settings screen. **Confusingly, *app usage* is not the same as *battery usage* and is not even directly related to battery usage!** The app usage (while in use) will be very high because FairEmail is using a foreground service which is considered as constant app usage by Android. However, this doesn't mean that FairEmail is constantly using battery power. The real battery usage can be seen by navigating to this screen:
*Android settings*, *Battery*, three-dots menu *Battery usage*, three-dots menu *Show full device usage*
As a rule of thumb the battery usage should be below or in any case not be much higher than *Mobile network standby*. If this isn't the case, please let me know.
It is inevitable that synchronizing messages will use battery power because it requires network access and accessing the messages database.
If you are comparing the battery usage of FairEmail with another email client, please make sure the other email client is setup similarly. For example comparing always sync (push messages) and (infrequent) periodic checking for new messages is not a fair comparison.
Reconnecting to an email server will use extra battery power, so an unstable internet connection will result in extra battery usage. In this case you might want to synchronize periodically, for example each hour, instead of continuously. Note that polling frequently (more than every 30-60 minutes) will likely use more battery power than synchronizing always because connecting to the server and comparing the local and remotes messages are expensive operations.
[On some devices](https://dontkillmyapp.com/) it is necessary to *disable* battery optimizations (setup step 4) to keep connections to email servers open.
Most of the battery usage, not considering viewing messages, is due to synchronization (receiving and sending) of messages. So, to reduce the battery usage, set the number of days to synchronize message for to a lower value, especially if there are a lot of recent messages in a folder. Long press a folder name in the folders list and select *Edit properties* to access this setting.
If you have at least once a day internet connectivity, it is sufficient to synchronize messages just for one day.
Note that you can set the number of days to *keep* messages for to a higher number than to *synchronize* messages for. You could for example initially synchronize messages for a large number of days and after this has been completed reduce the number of days to synchronize messages for, but leave the number of days to keep messages for.
In the receive settings you can enable to always synchronize starred messages, which will allow you to keep older messages around while synchronizing messages for a limited number of days.
Disabling the folder option *Automatically download message texts and attachments* will result in less network traffic and thus less battery usage. You could disable this option for example for the sent folder and the archive.
Synchronizing messages at night is mostly not useful, so you can save on battery usage by not synchronizing at night. In the settings you can select a schedule for message synchronization (this is a pro feature).
FairEmail will by default synchronize the folder list on each connection. Since folders are mostly not created, renamed and deleted very often, you can save some network and battery usage by disabling this in the receive settings.
FairEmail will by default check if old messages were deleted from the server on each connection. If you don't mind that old messages that were delete from the server are still visible in FairEmail, you can save some network and battery usage by disabling this in the receive settings.
Some providers don't follow the IMAP standard and don't keep connections open long enough, forcing FairEmail to reconnect often, causing extra battery usage. You can inspect the *Log* via the main navigation menu to check if there are frequent reconnects (connection closed/reset, read/write error/timeout, etc). You can workaround this by lowering the keep-alive interval in the advanced account settings to for example 9 or 15 minutes. Note that battery optimizations need to be disabled in setup step 4 to reliably keep connections alive.
Some providers send every two minutes something like '*Still here*' resulting in network traffic and your device to wake up and causing unnecessary extra battery usage. You can inspect the *Log* via the main navigation menu to check if your provider is doing this. If your provider is using [Dovecot](https://www.dovecot.org/) as IMAP server, you could ask your provider to change the [imap_idle_notify_interval](https://wiki.dovecot.org/Timeouts) setting to a higher value or better yet, to disable this. If your provider is not able or willing to change/disable this, you should consider to switch to periodically instead of continuous synchronization. You can change this in the receive settings.
If you got the message *This provider does not support push messages* while configuring an account, consider switching to a modern provider which supports push messages (IMAP IDLE) to reduce battery usage.
If your device has an [AMOLED](https://en.wikipedia.org/wiki/AMOLED) screen, you can save battery usage while viewing messages by switching to the black theme.
By default auto optimize in the receive settings is enabled, which will switch an account to periodically checking for new messages when the email server:
* Says '*Still here*' within 3 minutes
* The email server does not support push messages
* The keep-alive interval is lower than 12 minutes
<br/>
<aname="faq40"></a>
**(40) How can I reduce the network usage of FairEmail?**
You can reduce the network usage basically in the same way as reducing battery usage, see the previous question for suggestions.
By default FairEmail does not download message texts and attachments larger than 256 KiB when there is a metered (mobile or paid Wi-Fi) internet connection. You can change this in the connection settings.
<br/>
<aname="faq41"></a>
**(41) How can I fix the error 'Handshake failed' ?**
There are several possible causes, so please read to the end of this answer.
The error '*Handshake failed ... WRONG_VERSION_NUMBER ...*' might mean that you are trying to connect to an IMAP or SMTP server without an encrypted connection, typically using port 143 (IMAP) and port 25 (SMTP), or that a wrong protocol (SSL/TLS or STARTTLS) is being used.
Most providers provide encrypted connections using different ports, typically port 993 (IMAP) and port 465/587 (SMTP).
If your provider doesn't support encrypted connections, you should ask to make this possible. If this isn't an option, you could enable *Allow insecure connections* both in the advanced settings AND the account/identity settings.
See also [this FAQ](#user-content-faq4).
The error '*Handshake failed ... SSLV3_ALERT_ILLEGAL_PARAMETER ...*' is either caused by a bug in the SSL protocol implementation or by a too short DH key on the email server and can unfortunately not be fixed by FairEmail.
The error '*Handshake failed ... HANDSHAKE_FAILURE_ON_CLIENT_HELLO ...*' might be caused by the provider still using RC4, which isn't supported since [Android 7](https://developer.android.com/about/versions/nougat/android-7.0-changes.html#tls-ssl) anymore.
The error '*Handshake failed ... UNSUPPORTED_PROTOCOL ...*' might be caused by enabling hardening connections in the connection settings or by Android not supporting older protocols anymore, like SSLv3.
Android 8 Oreo and later [do not support](https://developer.android.com/about/versions/oreo/android-8.0-changes#security-all) SSLv3 anymore. There is no way to workaround lacking RC4 and SSLv3 support because it has completely been removed from Android (which should say something).
You can use [this website](https://ssl-tools.net/mailservers) or [this website](https://www.immuniweb.com/ssl/) to check for SSL/TLS problems of email servers.
<br/>
<aname="faq42"></a>
**(42) Can you add a new provider to the list of providers?**
If the provider is used by more than a few people, yes, with pleasure.
The following information is needed:
```
<provider
name="Gmail"
link="https://support.google.com/mail/answer/7126229" // link to the instructions of the provider
type="com.google"> // this is not needed
<imap
host="imap.gmail.com"
port="993"
starttls="false" />
<smtp
host="smtp.gmail.com"
port="465"
starttls="false" />
</provider>
```
The EFF [writes](https://www.eff.org/nl/deeplinks/2018/06/announcing-starttls-everywhere-securing-hop-hop-email-delivery): "*Additionally, even if you configure STARTTLS perfectly and use a valid certificate, there’s still no guarantee your communication will be encrypted.*"
So, pure SSL connections are safer than using [STARTTLS](https://en.wikipedia.org/wiki/Opportunistic_TLS) and therefore preferred.
Please make sure receiving and sending messages works properly before contacting me to add a provider.
See below about how to contact me.
<br/>
<aname="faq43"></a>
**(43) Can you show the original ... ?**
Show original, shows the original message as the sender has sent it, including original fonts, colors, margins, etc. FairEmail does and will not alter this in any way, except for requesting [TEXT_AUTOSIZING](https://developer.android.com/reference/android/webkit/WebSettings.LayoutAlgorithm), which will *attempt* to make small text more readable.
<br/>
<aname="faq44"></a>
**~~(44) Can you show contact photos / identicons in the sent folder?~~**
~~Contact photos and identicons are always shown for the sender because this is necessary for conversation threads.~~ ~~Getting contact photos for both the sender and receiver is not really an option because getting contact photo is an expensive operation.~~
<br/>
<aname="faq45"></a>
**(45) How can I fix 'This key is not available. To use it, you must import it as one of your own!' ?**
You'll get the message *This key is not available. To use it, you must import it as one of your own!* when trying to decrypt a message with a public key. To fix this you'll need to import the private key.
<br/>
<aname="faq46"></a>
**(46) Why does the message list keep refreshing?**
If you see a 'spinner' at the top of the message list, the folder is still being synchronized with the remote server. You can see the progress of the synchronization in the folder list. See the legend about what the icons and numbers mean.
The speed of your device and internet connection and the number of days to synchronize messages for determine how long synchronization will take. Note that you shouldn't set the number of days to synchronize messages for to more than one day in most cases, see also [this FAQ](#user-content-faq39).
<br/>
<aname="faq47"></a>
**(47) How do I solve the error 'No primary account or no drafts folder' ?**
You'll get the error message *No primary account or no drafts folder* when trying to compose a message while there is no account set to be the primary account or when there is no drafts folder selected for the primary account. This can happen for example when you start FairEmail to compose a message from another app. FairEmail needs to know where to store the draft, so you'll need to select one account to be the primary account and/or you'll need to select a drafts folder for the primary account.
This can also happen when you try to reply to a message or to forward a message from an account with no drafts folder while there is no primary account or when the primary account does not have a drafts folder.
Please see [this FAQ](#user-content-faq141) for some more information.
<br/>
<aname="faq48"></a>
**~~(48) How do I solve the error 'No primary account or no archive folder' ?~~**
~~You'll get the error message *No primary account or no archive folder* when searching for messages from another app. FairEmail needs to know where to search, so you'll need to select one account to be the primary account and/or you'll need to select a archive folder for the primary account.~~
<br/>
<aname="faq49"></a>
**(49) How do I fix 'An outdated app sent a file path instead of a file stream' ?**
You likely selected or sent an attachment or image with an outdated file manager or an outdated app which assumes all apps still have storage permissions. For security and privacy reasons modern apps like FairEmail have no full access to all files anymore. This can result into the error message *An outdated app sent a file path instead of a file stream* if a file name instead of a file stream is being shared with FairEmail because FairEmail cannot randomly open files.
You can fix this by switching to an up-to-date file manager or an app designed for recent Android versions. Alternatively, you can grant FairEmail read access to the storage space on your device in the Android app settings. Note that this workaround [won't work on Android Q](https://developer.android.com/preview/privacy/scoped-storage) anymore.
See also [question 25](#user-content-faq25) and [what Google writes about it](https://developer.android.com/training/secure-file-sharing/share-file#RespondToRequest).
<br/>
<aname="faq50"></a>
**(50) Can you add an option to synchronize all messages?**
A synchronize all (download all) messages will not be added because it can easily result in out of memory errors and the available storage space filling up. It can also easily result in a lot of battery and data usage. Mobile devices are just not very suitable to download and store years of messages. You can better use the search on server function (see [question 13](#user-content-faq13)), which is faster and more efficient. Note that searching through a lot of messages stored locally would only delay searching and use extra battery power.
<br/>
<aname="faq51"></a>
**(51) How are folders sorted?**
Folders are first sorted on account order (by default on account name) and within an account with special, system folders on top, followed by folders set to synchronize. Within each category the folders are sorted on (display) name. You can set the display name by long pressing a folder in the folder list and selecting *Edit properties*.
The navigation (hamburger) menu item *Order folders* in the setup can be used to manually order the folders.
<br/>
<aname="faq52"></a>
**(52) Why does it take some time to reconnect to an account?**
There is no reliable way to know if an account connection was terminated gracefully or forcefully. Trying to reconnect to an account while the account connection was terminated forcefully too often can result in problems like [too many simultaneous connections](#user-content-faq23) or even the account being blocked. To prevent such problems, FairEmail waits 90 seconds until trying to reconnect again.
You can long press *Settings* in the navigation menu to reconnect immediately.
<br/>
<aname="faq53"></a>
**(53) Can you stick the message action bar to the top/bottom?**
The message action bar works on a single message and the bottom action bar works on all the messages in the conversation. Since there is often more than one message in a conversation, this is not possible. Moreover, there are quite some message specific actions, like forwarding.
Moving the message action bar to the bottom of the message is visually not appealing because there is already a conversation action bar at the bottom of the screen.
Note that there are not many, if any, email apps that display a conversation as a list of expandable messages. This has a lot of advantages, but the also causes the need for message specific actions.
<br/>
<aname="faq54"></a>
**~~(54) How do I use a namespace prefix?~~**
~~A namespace prefix is used to automatically remove the prefix providers sometimes add to folder names.~~
~~For example the Gmail spam folder is called:~~
```
[Gmail]/Spam
```
~~By setting the namespace prefix to *[Gmail]* FairEmail will automatically remove *[Gmail]/* from all folder names.~~
<br/>
<aname="faq55"></a>
**(55) How can I mark all messages as read / move or delete all messages?**
You can use multiple select for this. Long press the first message, don't lift your finger and slide down to the last message. Then use the three dot action button to execute the desired action.
<br/>
<aname="faq56"></a>
**(56) Can you add support for JMAP?**
There are almost no providers offering the [JMAP](https://jmap.io/) protocol, so it is not worth a lot of effort to add support for this to FairEmail.
<br/>
<aname="faq57"></a>
**(57) ~~Can I use HTML in signatures?~~**
~~Yes, you can use HTML in signatures if you paste formatted text into the signature field or use the *Edit as HTML* menu to enter HTML manually.~~
~~Note that including links and images in messages will increase the likelihood that a message will be seen as spam,~~ ~~especially when you send a message to someone for the first time.~~
~~See [here](https://stackoverflow.com/questions/44410675/supported-html-tags-on-android-textview) for which HTML tags are supported.~~
<br/>
<aname="faq58"></a>
**(58) What does an open/closed email icon mean?**
The email icon in the folder list can be open (outlined) or closed (solid):
Message bodies and attachments are downloaded by default.
<br/>
<aname="faq59"></a>
**(59) Can original messages be opened in the browser?**
For security reasons the files with the original message texts are not accessible to other apps, so this is not possible. In theory the [Storage Access Framework](https://developer.android.com/guide/topics/providers/document-provider) could be used to share these files, but even Google's Chrome cannot handle this.
<br/>
<aname="faq60"></a>
**(60) Did you know ... ?**
* Did you know that starred messages can be synchronized/kept always? (this can be enabled in the receive settings)
* Did you know that you can long press the 'write message' icon to go to the drafts folder?
* Did you know there is an advanced option to mark messages read when they are moved? (archiving and trashing is also moving)
* Did you know that you can select text (or an email address) in any app on recent Android versions and let FairEmail search for it?
* Did you know that FairEmail has a tablet mode? Rotate your device in landscape mode and conversation threads will be opened in a second column if there is enough screen space.
* Did you know that you can long press a reply template to create a draft message from the template?
* Did you know that you can long press, hold and swipe to select a range of messages?
* Did you know that you can retry sending messages by using pull-down-to-refresh in the outbox?
* Did you know that you can swipe a conversation left or right to go to the next or previous conversation?
* Did you know that you can tap on an image to see where it will be downloaded from?
* Did you know that you can long press the folder icon in the action bar to select an account?
* Did you know that you can long press the star icon in a conversation thread to set a colored star?
* Did you know that you can open the navigation drawer by swiping from the left, even when viewing a conversation?
* Did you know that you can long press the people's icon to show/hide the CC/BCC fields and remember the visibility state for the next time?
* Did you know that if you select text and hit reply, only the selected text will be quoted?
<br/>
<aname="faq61"></a>
**(61) Why are some messages shown dimmed?**
Messages shown dimmed (grayed) are locally moved messages for which the move is not confirmed by the server yet. This can happen when there is no connection to the server or the account (yet). These messages will be synchronized after a connection to the server and the account has been made or, if this never happens, will be deleted if they are too old to be synchronized.
You might need to manually synchronize the folder, for example by pulling down.
You can view these messages, but you cannot move these messages again until the previous move has been confirmed.
Pending [operations](#user-content-faq3) are shown in the operations view accessible from the main navigation menu.
<br/>
<aname="faq62"></a>
**(62) Which authentication methods are supported?**
The following authentication methods are supported and used in this order:
SASL authentication methods, besides CRAM-MD5, are not supported because [JavaMail for Android](https://javaee.github.io/javamail/Android) does not support SASL authentication.
If your provider requires an unsupported authentication method, you'll likely get the error message *authentication failed*.
[Server Name Indication](https://en.wikipedia.org/wiki/Server_Name_Indication) is supported by [all supported Android versions](https://developer.android.com/training/articles/security-ssl).
<br/>
<aname="faq63"></a>
**(63) How are images resized for displaying on screens?**
Large inline or attached [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) and [JPEG](https://en.wikipedia.org/wiki/JPEG) images will automatically be resized for displaying on screens. This is because email messages are limited in size, depending on the provider mostly between 10 and 50 MB. Images will by default be resized to a maximum width and height of about 1440 pixels and saved with a compression ratio of 90 %. Images are scaled down using whole number factors to reduce memory usage and to retain image quality. Automatically resizing of inline and/or attached images and the maximum target image size can be configured in the send settings.
If you want to resize images on a case-by-case basis, you can use [Send Reduced](https://f-droid.org/en/packages/mobi.omegacentauri.SendReduced/) or a similar app.
<br/>
<aname="faq64"></a>
**~~(64) Can you add custom actions for swipe left/right?~~**
~~The most natural thing to do when swiping a list entry left or right is to remove the entry from the list.~~ ~~The most natural action in the context of an email app is moving the message out of the folder to another folder.~~~~You can select the folder to move to in the account settings.~~
~~Other actions, like marking messages read and snoozing messages are available via multiple selection.~~ ~~You can long press a message to start multiple selection. See also [this question](#user-content-faq55).~~
~~Swiping left or right to mark a message read or unread is unnatural because the message first goes away and later comes back in a different shape.~~ ~~Note that there is an advanced option to mark messages automatically read on moving,~~~~which is in most cases a perfect replacement for the sequence mark read and move to some folder.~~~~You can also mark messages read from new message notifications.~~
~~If you want to read a message later, you can hide it until a specific time by using the *snooze* menu.~~
<br/>
<aname="faq65"></a>
**(65) Why are some attachments shown dimmed?**
Inline (image) attachments are shown dimmed. [Inline attachments](https://tools.ietf.org/html/rfc2183) are supposed to be downloaded and shown automatically, but since FairEmail doesn't always download attachments automatically, see also [this FAQ](#user-content-faq40), FairEmail shows all attachment types. To distinguish inline and regular attachments, inline attachments are shown dimmed.
<br/>
<aname="faq66"></a>
**(66) Is FairEmail available in the Google Play Family Library?**
The price of FairEmail is too low, lower than that of most similar apps, and there are [too many fees and taxes](#user-content-faq19), Google alone already takes 30 %, to justify making FairEmail available in the [Google Play Family Library](https://support.google.com/googleone/answer/7007852). Note that Google promotes the Family libray, but lets developers pay for it and doesn't contribute anything.
Multiple select one of more conversations (long press to start multiple selecting), tap the three dot button and select *Snooze ...*. Alternatively, in the expanded message view use *Snooze ...* in the message three-dots 'more' menu or the timelapse action in the bottom action bar. Select the time the conversation(s) should snooze and confirm by tapping OK. The conversations will be hidden for the selected time and shown again afterwards. You will receive a new message notification as reminder.
It is also possible to snooze messages with [a rule](#user-content-faq71).
You can show snoozed messages by unchecking *Filter out* > *Hidden* in the three dot overflow menu.
You can tap on the small snooze icon to see until when a conversation is snoozed.
By selecting a zero snooze duration you can cancel snoozing.
<br/>
<aname="faq68"></a>
**~~(68) Why can Adobe Acrobat reader not open PDF attachments / Microsoft apps not open attached documents?~~**
~~Adobe Acrobat reader and Microsoft apps still expects full access to all stored files,~~ ~~while apps should use the [Storage Access Framework](https://developer.android.com/guide/topics/providers/document-provider) since Android KitKat (2013)~~~~to have access to actively shared files only. This is for privacy and security reasons.~~
~~You can workaround this by saving the attachment and opening it from the Adobe Acrobat reader / Microsoft app,~~ ~~but you are advised to install an up-to-date and preferably open source PDF reader / document viewer,~~~~for example one listed [here](https://github.com/offa/android-foss#-document--pdf-viewer).~~
<br/>
<aname="faq69"></a>
**(69) Can you add auto scroll up on new message?**
The message list is automatically scrolled up when navigating from a new message notification or after a manual refresh. Always automatically scrolling up on arrival of new messages would interfere with your own scrolling, but if you like you can enable this in the settings.
<br/>
<aname="faq70"></a>
**(70) When will messages be auto expanded?**
When navigation to a conversation one message will be expanded if:
* There is just one message in the conversation
* There is exactly one unread message in the conversation
There is one exception: the message was not downloaded yet and the message is too large to download automatically on a metered (mobile) connection. You can set or disable the maximum message size on the 'connection' settings tab.
Duplicate (archived) messages, trashed messages and draft messages are not counted.
Messages will automatically be marked read on expanding, unless this was disabled in the individual account settings.
<br/>
<aname="faq71"></a>
**(71) How do I use filter rules?**
You can edit filter rules by long pressing a folder in the folder list.
New rules will be applied to new messages received in the folder, not to existing messages. You can check the rule and apply the rule to existing messages or, alternatively, long press the rule in the rule list and select *Execute now*.
You'll need to give a rule a name and you'll need to define the order in which a rule should be executed relative to other rules.
You can disable a rule and you can stop processing other rules after a rule has been executed.
All the conditions of a rule need to be true for the rule action to be executed. All conditions are optional, but there needs to be at least one condition, to prevent matching all messages. If you want to match all senders or all recipients, you can just use the @ character as condition because all email addresses will contain this character.
Note that email addresses are formatted like this:
You can use multiple rules, possibly with a *stop processing*, for an *or* or a *not* condition.
Matching is not case sensitive, unless you use [regular expressions](https://en.wikipedia.org/wiki/Regular_expression). Please see [here](https://developer.android.com/reference/java/util/regex/Pattern) for the documentation of Java regular expressions. You can test a regex [here](https://regexr.com/).
Note that [dot all mode](https://developer.android.com/reference/java/util/regex/Pattern#DOTALL) is enabled to be able to match [unfolded headers](https://tools.ietf.org/html/rfc2822#section-3.2.3).
You can select one of these actions to apply to matching messages:
Rules are applied directly after the message header has been fetched, but before the message text has been downloaded, so it is not possible to apply conditions to the message text. Note that large message texts are downloaded on demand on a metered connection to save on data usage.
If you want to forward a message, consider to use the move action instead. This will be more reliable than forwarding as well because forwarded messages might be considered as spam.
Since message headers are not downloaded and stored by default to save on battery and data usage and to save storage space it is not possible to preview which messages would match a header rule condition.
In the three-dots *more* message menu there is an item to create a rule for a received message with the most common conditions filled in.
The POP3 protocol does not support setting keywords and moving or copying messages.
Using rules is a pro feature.
<br/>
<aname="faq72"></a>
**(72) What are primary accounts/identities?**
The primary account is used when the account is ambiguous, for example when starting a new draft from the unified inbox.
Similarly, the primary identity of an account is used when the identity is ambiguous.
There can be just one primary account and there can be just one primary identity per account.
<br/>
<aname="faq73"></a>
**(73) Is moving messages across accounts safe/efficient?**
Moving messages across accounts is safe because the raw, original messages will be downloaded and moved and because the source messages will be deleted only after the target messages have been added
Batch moving messages across accounts is efficient if both the source folder and target folder are set to synchronize, else FairEmail needs to connect to the folder(s) for each message.
<br/>
<aname="faq74"></a>
**(74) Why do I see duplicate messages?**
Some providers, notably Gmail, list all messages in all folders, except trashed messages, in the archive (all messages) folder too. FairEmail shows all these messages in a non obtrusive way to indicate that these messages are in fact the same message.
Gmail allows one message to have multiple labels, which are presented to FairEmail as folders. This means that messages with multiple labels will be shown multiple times as well.
<br/>
<aname="faq75"></a>
**(75) Can you make an iOS, Windows, Linux, etc version?**
A lot of knowledge and experience is required to successfully develop an app for a specific platform, which is why I develop apps for Android only.
<br/>
<aname="faq76"></a>
**(76) What does 'Clear local messages' do?**
The folder menu *Clear local messages* removes messages from the device which are present on the server too. It does not delete messages from the server. This can be useful after changing the folder settings to not download the message content (text and attachments), for example to save space.
<br/>
<aname="faq77"></a>
**(77) Why are messages sometimes shown with a small delay?**
Depending on the speed of your device (processor speed and maybe even more memory speed) messages might be displayed with a small delay. FairEmail is designed to dynamically handle a large number of messages without running out of memory. This means that messages needs to be read from a database and that this database needs to be watched for changes, both of which might cause small delays.
Some convenience features, like grouping messages to display conversation threads and determining the previous/next message, take a little extra time. Note that there is no *the* next message because in the meantime a new message might have been arrived.
When comparing the speed of FairEmail with similar apps this should be part of the comparison. It is easy to write a similar, faster app which just displays a lineair list of messages while possible using too much memory, but it is not so easy to properly manage resource usage and to offer more advanced features like conversation threading.
FairEmail is based on the state-of-the-art [Android architecture components](https://developer.android.com/topic/libraries/architecture/), so there is little room for performance improvements.
<br/>
<aname="faq78"></a>
**(78) How do I use schedules?**
In the receive settings you can enable scheduling and set the time period and the day of weeks when messages should be received.
Note that an end time equal to or earlier than the start time is considered to be 24 hours later.
For more complex schemes you could set one or more accounts to manual synchronization and send this command to FairEmail to check for new messages:
```
(adb shell) am startservice -a eu.faircode.email.POLL
```
For a specific account:
```
(adb shell) am startservice -a eu.faircode.email.POLL --es account Gmail
```
You can also automate turning receiving messages on and off by sending these commands to FairEmail:
```
(adb shell) am startservice -a eu.faircode.email.ENABLE
(adb shell) am startservice -a eu.faircode.email.DISABLE
```
To enable/disable a specific account:
```
(adb shell) am startservice -a eu.faircode.email.ENABLE --es account Gmail
(adb shell) am startservice -a eu.faircode.email.DISABLE --es account Gmail
```
Note that disabling an account will hide the account and all associated folders and messages.
You can automatically send commands with for example [Tasker](https://tasker.joaoapps.com/userguide/en/intents.html):
```
New task: Something recognizable
Action Category: Misc/Send Intent
Action: eu.faircode.email.ENABLE
Target: Service
```
To enable/disable an account with the name *Gmail*:
```
Extras: account:Gmail
```
Account names are case sensitive.
Automation can be used for more advanced schedules, like for example multiple synchronization periods per day or different synchronization periods for different days.
It is possible to install FairEmail in multiple user profiles, for example a personal and a work profile, and to configure FairEmail differently in each profile, which is another possibility to have different synchronization schedules and to synchronize a different set of accounts.
It is also possible to create [rules](#user-content-faq71) with a time condition and to snooze messages until the end time of the time condition. This way it is possible to snooze business related messages until the start of the business hours. This also means that the messages will be on your device for when there is no internet connection, for example when flying.
Scheduling is a pro feature.
<br/>
<aname="faq79"></a>
**(79) How do I use synchronize on demand (manual)?**
Normally, FairEmail maintains a connection to the configured email servers whenever possible to receive messages in real-time. If you don't want this, for example to be not disturbed or to save on battery usage, just disable receiving in the receive settings. This will stop the background service which takes care of automatic synchronization and will remove the associated status bar notification.
You can also enable *Synchronize manually* in the advanced account settings if you want to manually synchronize specific accounts only.
You can use pull-down-to-refresh in a message list or use the folder menu *Synchronize now* to manually synchronize messages.
If you want to synchronize some or all folders of an account manually, just disable synchronization for the folders (but not of the account).
You'll likely want to disabled [browse on server](#user-content-faq24) too.
<br/>
<aname="faq80"></a>
**~~(80) How do I fix the error 'Unable to load BODYSTRUCTURE' ?~~**
~~The error message *Unable to load BODYSTRUCTURE* is caused by bugs in the email server,~~ ~~see [here](https://javaee.github.io/javamail/FAQ#imapserverbug) for more details.~~
~~FairEmail already tries to workaround these bugs, but if this fail you'll need to ask for support from your provider.~~
<br/>
<aname="faq81"></a>
**~~(81) Can you make the background of the original message dark in the dark theme?~~**
~~The original message is shown as the sender has sent it, including all colors.~~ ~~Changing the background color would not only make the original view not original anymore, it can also result in unreadable messages.~~
<br/>
<aname="faq82"></a>
**(82) What is a tracking image?**
Please see [here](https://en.wikipedia.org/wiki/Web_beacon) about what a tracking image exactly is. In short tracking images keep track if you opened a message.
FairEmail will in most cases automatically recognize tracking images and replace them by this icon:
Automatic recognition of tracking images can be disabled in the privacy settings.
<br/>
<aname="faq84"></a>
**(84) What are local contacts for?**
Local contact information is based on names and addresses found in incoming and outgoing messages.
The main use of the local contacts storage is to offer auto completion when no contacts permission has been granted to FairEmail.
Another use is to generate [shortcuts](#user-content-faq31) on recent Android versions to quickly send a message to frequently contacted people. This is also why the number of times contacted and the last time contacted is being recorded and why you can make a contact a favorite or exclude it from favorites by long pressing it.
The list of contacts is sorted on number of times contacted and the last time contacted.
By default only names and addresses to whom you send messages to will be recorded. You can change this in the send settings.
<br/>
<aname="faq85"></a>
**(85) Why is an identity not available?**
An identity is available for sending a new message or replying or forwarding an existing message only if:
* the identity is set to synchronize (send messages)
* the associated account is set to synchronize (receive messages)
* the associated account has a drafts folder
FairEmail will try to select the best identity based on the *to* address of the message replied to / being forwarded.
* ~~Looking up the owner of the IP address of a link~~
* ~~Detection and removal of [tracking images](#user-content-faq82)~~
<br/>
<aname="faq87"></a>
**(87) What does 'invalid credentials' mean?**
The error message *invalid credentials* means either that the user name and/or password is incorrect, for example because the password was changed or expired, or that the account authorization has expired.
If the password is incorrect/expired, you will have to update the password in the account and/or identity settings.
If the account authorization has expired, you will have to select the account again. You will likely need to save the associated identity again as well.
<br/>
<aname="faq88"></a>
**(88) How can I use a Yahoo, AOL or Sky account?**
To authorize a Yahoo, AOL, or Sky account you will need to create an app password. For instructions, please see here:
Please see [this FAQ](#user-content-faq111) about OAuth support.
Note that Yahoo, AOL, and Sky do not support standard push messages. The Yahoo email app uses a proprietary, undocumented protocol for push messages.
Push messages require [IMAP IDLE](https://en.wikipedia.org/wiki/IMAP_IDLE) and the Yahoo email server does not report IDLE as capability:
```
Y1 CAPABILITY
* CAPABILITY IMAP4rev1 ID MOVE NAMESPACE XYMHIGHESTMODSEQ UIDPLUS LITERAL+ CHILDREN X-MSG-EXT UNSELECT OBJECTID
Y1 OK CAPABILITY completed
```
<br/>
<aname="faq89"></a>
**(89) How can I send plain text only messages?**
By default FairEmail sends each message both as plain text and as HTML formatted text because almost every receiver expects formatted messages these days. If you want/need to send plain text messages only, you can enable this in the advanced identity options. You might want to create a new identity for this if you want/need to select sending plain text messages on a case-by-case basis.
<br/>
<aname="faq90"></a>
**(90) Why are some texts linked while not being a link?**
FairEmail will automatically link not linked web links (http and https) and not linked email addresses (mailto) for your convenience. However, texts and links are not easily distinguished, especially not with lots of [top level domains](https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains) being words. This is why texts with dots are sometimes incorrectly recognized as links, which is better than not recognizing some links.
Links for less usual protocols like telnet and ftp will not automatically be linked.
<br/>
<aname="faq91"></a>
**~~(91) Can you add periodical synchronization to save battery power?~~**
~~Synchronizing messages is an expensive proces because the local and remote messages need to be compared,~~ ~~so periodically synchronizing messages will not result in saving battery power, more likely the contrary.~~
~~See [this FAQ](#user-content-faq39) about optimizing battery usage.~~
<br/>
<aname="faq92"></a>
**(92) Can you add spam filtering, verification of the DKIM signature and SPF authorization?**
Spam filtering, verification of the [DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) signature and [SPF](https://en.wikipedia.org/wiki/Sender_Policy_Framework) authorization is a task of email servers, not of an email client. Servers generally have more memory and computing power, so they are much better suited to this task than battery-powered devices. Also, you'll want spam filtered for all your email clients, possibly including web email, not just one email client. Moreover, email servers have access to information, like the IP address, etc of the connecting server, which an email client has no access to.
Of course you can report messages as spam with FairEmail, which will move the reported messages to the spam folder and train the spam filter of the provider, which is how it is supposed to work. This can be done automatically with [filter rules](#user-content-faq71) too. Blocking the sender will create a filter rule to automatically move future messages of the same sender into the spam folder.
Note that you should not delete spam messages, also not from the spam folder, because the email server uses the messages in the spam folder to "learn" what spam messages are.
If you receive a lot of spam messages in your inbox, the best you can do is to contact the email provider to ask if spam filtering can be improved.
Also, FairEmail can show a small red warning flag when DKIM, SPF or [DMARC](https://en.wikipedia.org/wiki/DMARC) authentication failed on the receiving server. You can enable/disable [authentication verification](https://en.wikipedia.org/wiki/Email_authentication) in the display settings.
FairEmail can show a warning flag too if the domain name of the (reply) email address of the sender does not define an MX record pointing to an email server. This can be enabled in the receive settings. Be aware that this will slow down synchronization of messages significantly.
If legitimate messages are failing authentication, you should notify the sender because this will result in a high risk of messages ending up in the spam folder. Moreover, without proper authentication there is a risk the sender will be impersonated. The sender might use [this tool](https://www.mail-tester.com/) to check authentication and other things.
<br/>
<aname="faq93"></a>
**(93) Can you allow installation/data storage on external storage media (sdcard)?**
FairEmail uses services and alarms, provides widgets and listens for the boot completed event to be started on device start, so it is not possible to store the app on external storage media, like an sdcard. See also [here](https://developer.android.com/guide/topics/data/install-location).
Messages, attachments, etc stored on external storage media, like an sdcard, can be accessed by other apps and is therefore not safe. See [here](https://developer.android.com/training/data-storage) for the details.
When needed you can save (raw) messages via the three-dots menu just above the message text and save attachments by tapping on the floppy icon.
If you need to save on storage space, you can limit the number of days messages are being synchronized and kept for. You can change these settings by long pressing a folder in the folder list and selecting *Edit properties*.
<br/>
<aname="faq94"></a>
**(94) What does the red/orange stripe at the end of the header mean?**
The red/orange stripe at the left side of the header means that the DKIM, SPF or DMARC authentication failed. See also [this FAQ](#user-content-faq92).
<br/>
<aname="faq95"></a>
**(95) Why are not all apps shown when selecting an attachment or image?**
For privacy and security reasons FairEmail does not have permissions to directly access files, instead the Storage Access Framework, available and recommended since Android 4.4 KitKat (released in 2013), is used to select files.
If an app is listed depends on if the app implements a [document provider](https://developer.android.com/guide/topics/providers/document-provider). If the app is not listed, you might need to ask the developer of the app to add support for the Storage Access Framework.
Android Q will make it harder and maybe even impossible to directly access files, see [here](https://developer.android.com/preview/privacy/scoped-storage) and [here](https://www.xda-developers.com/android-q-storage-access-framework-scoped-storage/) for more details.
<br/>
<aname="faq96"></a>
**(96) Where can I find the IMAP and SMTP settings?**
The IMAP settings are part of the (custom) account settings and the SMTP settings are part of the identity settings.
<br/>
<aname="faq97"></a>
**(97) What is 'cleanup' ?**
About each four hours FairEmail runs a cleanup job that:
* Removes old message texts
* Removes old attachment files
* Removes old image files
* Removes old local contacts
* Removes old log entries
Note that the cleanup job will only run when the synchronize service is active.
<br/>
<aname="faq98"></a>
**(98) Why can I still pick contacts after revoking contacts permissions?**
After revoking contacts permissions Android does not allow FairEmail access to your contacts anymore. However, picking contacts is delegated to and done by Android and not by FairEmail, so this will still be possible without contacts permissions.
<br/>
<aname="faq99"></a>
**(99) Can you add a rich text or markdown editor?**
FairEmail provides common text formatting (bold, italic, underline, text size and color) via a toolbar that appears after selecting some text.
A [Rich text](https://en.wikipedia.org/wiki/Formatted_text) or [Markdown](https://en.wikipedia.org/wiki/Markdown) editor would not be used by many people on a small mobile device and, more important, Android doesn't support a rich text editor and most rich text editor open source projects are abandoned. See [here](https://forum.xda-developers.com/showpost.php?p=79061829&postcount=4919) for some more details about this.
<br/>
<aname="faq100"></a>
**(100) How can I synchronize Gmail categories?**
You can synchronize Gmail categories by creating filters to label categorized messages:
* Create a new filter via Gmail > Settings (wheel) > Filters and Blocked Addresses > Create a new filter
* Enter a category search (see below) in the *Has the words* field and click *Create filter*
* Check *Apply the label* and select a label and click *Create filter*
Possible categories:
```
category:social
category:updates
category:forums
category:promotions
```
Unfortunately, this is not possible for snoozed messages folder.
You can use *Force sync* in the three-dots menu of the unified inbox to let FairEmail synchronize the folder list again and you can long press the folders to enable synchronization.
<br/>
<aname="faq101"></a>
**(101) What does the blue/orange dot at the bottom of the conversations mean?**
The dot shows the relative position of the conversation in the message list. The dot will be show orange when the conversation is the first or last in the message list, else it will be blue. The dot is meant as an aid when swiping left/right to go to the previous/next conversation.
The dot is disabled by default and can be enabled with the display settings *Show relative conversation position with a dot*.
<br/>
<aname="faq102"></a>
**(102) How can I enable auto rotation of images?**
Images will automatically be rotated when automatic resizing of images is enabled in the settings (enabled by default). However, automatic rotating depends on the [Exif](https://en.wikipedia.org/wiki/Exif) information to be present and to be correct, which is not always the case. Particularly not when taking a photo with a camara app from FairEmail.
Note that only [JPEG](https://en.wikipedia.org/wiki/JPEG) and [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) images can contain Exif information.
<br/>
<aname="faq103"></a>
**(103) How can I record audio?**
You can record audio if you have a recording app installed which supports the [RECORD_SOUND_ACTION](https://developer.android.com/reference/android/provider/MediaStore.Audio.Media#RECORD_SOUND_ACTION) intent. If no supported app is installed, FairEmail will not show a record audio action/icon.
Unfortunately and surprisingly, most recording apps do not seem to support this intent (they should).
<br/>
<aname="faq104"></a>
**(104) What do I need to know about error reporting?**
* Error reports will help improve FairEmail
* Error reporting is optional and opt-in
* Error reporting can be enabled/disabled in the settings, section miscellaneous
* Error reports will automatically be sent anonymously to [Bugsnag](https://www.bugsnag.com/)
* Bugsnag for Android is [open source](https://github.com/bugsnag/bugsnag-android)
* See [here](https://docs.bugsnag.com/platforms/android/automatically-captured-data/) about what data will be sent in case of errors
* See [here](https://docs.bugsnag.com/legal/privacy-policy/) for the privacy policy of Bugsnag
* Error reports will be sent to *sessions.bugsnag.com:443* and *notify.bugsnag.com:443*
<br/>
<aname="faq105"></a>
**(105) How does the roam-like-at-home option work?**
FairEmail will check if the country code of the SIM card and the country code of the network are in the [EU roam-like-at-home countries](https://en.wikipedia.org/wiki/European_Union_roaming_regulations#Territorial_extent) and assumes no roaming if the country codes are equal and the advanced roam-like-at-home option is enabled.
So, you don't have to disable this option if you don't have an EU SIM or are not connected to an EU network.
<br/>
<aname="faq106"></a>
**(106) Which launchers can show a badge count with the number of unread messages?**
Please [see here](https://github.com/leolin310148/ShortcutBadger#supported-launchers) for a list of launchers which can show the number of unread messages.
Note that the notification setting *Show launcher icon with number of new messages* needs to be enabled (default enabled).
Only *new* unread messages in folders set to show new message notifications will be counted, so messages marked unread again and messages in folders set to not show new message notification will not be counted.
Depending on what you want, the notification settings *Let the number of new messages match the number of notifications* needs to be enabled or disabled.
This feature depends on support of your launcher. FairEmail merely 'broadcasts' the number of unread messages using the ShortcutBadger library. If it doesn't work, this cannot be fixed by changes in FairEmail.
Some launchers display '1' for [the monitoring notification](#user-content-faq2), despite FairEmail explicitly requesting not to show a badge for this notification. This could be caused by a bug in the launcher app or in your Android version. Please double check if the notification dot is disabled for the receive (service) notification channel. You can go to the right notification channel settings via the notification settings of FairEmail. This might not be obvious, but you can tap on the channel name for more settings.
Note that Tesla Unread is [not supported anymore](https://forum.xda-developers.com/android/general/bad-news-tesla-unread-devoloper-t3920415).
FairEmail does send a new message count intent as well:
```
eu.faircode.email.NEW_MESSAGE_COUNT
```
The number of new, unread messages will be in an integer "*count*" parameter.
<br/>
<aname="faq107"></a>
**(107) How do I use colored stars?**
You can set a colored star via the *more* message menu, via multiple selection (started by long pressing a message), by long pressing a star in a conversation or automatically by using [rules](#user-content-faq71).
You need to know that colored stars are not supported by the IMAP protocol and can therefore not be synchronized to an email server. This means that colored stars will not be visible in other email clients and will be lost on downloading messages again. However, the stars (without color) will be synchronized and will be visible in other email clients, when supported.
Some email clients use IMAP keywords for colors. However, not all servers support IMAP keywords and besides that there are no standard keywords for colors.
<br/>
<aname="faq108"></a>
**~~(108) Can you add permanently delete messages from any folder?~~**
~~When you delete messages from a folder the messages will be moved to the trash folder, so you have a chance to restore the messages.~~ ~~You can permanently delete messages from the trash folder.~~~~Permanently delete messages from other folders would defeat the purpose of the trash folder, so this will not be added.~~
<br/>
<aname="faq109"></a>
**~~(109) Why is 'select account' available in official versions only?~~**
~~Using *select account* to select and authorize Google accounts require special permission from Google for security and privacy reasons.~~ ~~This special permission can only be acquired for apps a developer manages and is responsible for.~~~~Third party builds, like the F-Droid builds, are managed by third parties and are the responsibility of these third parties.~~~~So, only these third parties can acquire the required permission from Google.~~~~Since these third parties do not actually support FairEmail, they are most likely not going to request the required permission.~~
~~You can solve this in two ways:~~
* ~~Switch to the official version of FairEmail, see [here](https://github.com/M66B/FairEmail/blob/master/README.md#downloads) for the options~~
* ~~Use app specific passwords, see [this FAQ](#user-content-faq6)~~
~~Using *select account* in third party builds is not possible in recent versions anymore.~~ ~~In older versions this was possible, but it will now result in the error *UNREGISTERED_ON_API_CONSOLE*.~~
<br/>
<aname="faq110"></a>
**(110) Why are (some) messages empty and/or attachments corrupt?**
Empty messages and/or corrupt attachments are probably being caused by a bug in the server software. Older Microsoft Exchange software is known to cause this problem. Mostly you can workaround this by disabling *Partial fetch* in the advanced account settings:
Setup > Step 1 > Manage > Tap account > Tap advanced > Partial fetch > uncheck
After disabling this setting, you can use the message 'more' (three dots) menu to 'resync' empty messages. Alternatively, you can *Delete local messages* by long pressing the folder(s) in the folder list and synchronize all messages again.
Disabling *Partial fetch* will result in more memory usage.
<br/>
<aname="faq111"></a>
**(111) Is OAuth supported?**
OAuth for Gmail is supported via the quick setup wizard. The Android account manager will be used to fetch and refresh OAuth tokens for selected on-device accounts. OAuth for non on-device accounts is not supported because Google requires a [yearly security audit](https://support.google.com/cloud/answer/9110914) ($15,000 to $75,000) for this.
OAuth for Yandex is supported via the quick setup wizard.
OAuth access for Yahoo was requested, but Yahoo never responded to the request. OAuth for AOL [was deactivated](https://www.programmableweb.com/api/aol-open-auth) by AOL. Verizon owns both AOL and Yahoo, collectively named [Oath inc](https://en.wikipedia.org/wiki/Verizon_Media). So, it is reasonable to assume that OAuth is not supported by Yahoo anymore too.
FairEmail is an email client only, so you need to bring your own email address.
There are plenty of email providers to choose from. Which email provider is best for you depends on your wishes/requirements. Please see the websites of [Restore privacy](https://restoreprivacy.com/secure-email/) or [Privacy Tools](https://www.privacytools.io/providers/email/) for a list of privacy oriented email providers with advantages and disadvantages.
Some providers, like ProtonMail, Tutanota, use proprietary email protocols, which make it impossible to use third party email apps. Please see [this FAQ](#user-content-faq129) for more information.
Using your own (custom) domain name, which is supported by most email providers, will make it easier to switch to another email provider.
<br/>
<aname="faq113"></a>
**(113) How does biometric authentication work?**
If your device has a biometric sensor, for example a fingerprint sensor, you can enable/disable biometric authentication in the navigation (hamburger) menu of the setup screen. When enabled FairEmail will require biometric authentication after a period of inactivity or after the screen has been turned off while FairEmail was running. Activity is navigation within FairEmail, for example opening a conversation thread. The inactivity period duration can be configured in the miscellaneous settings. When biometric authentication is enabled new message notifications will not show any content and FairEmail won't be visible on the Android recents screen.
Biometric authentication is meant to prevent others from seeing your messages only. FairEmail relies on device encryption for data encryption, see also [this FAQ](#user-content-faq37).
Biometric authentication is a pro feature.
<br/>
<aname="faq114"></a>
**(114) Can you add an import for the settings of other email apps?**
The format of the settings files of most other email apps is not documented, so this is difficult. Sometimes it is possible to reverse engineer the format, but as soon as the settings format changes things will break. Also, settings are often incompatible. For example, FairEmail has unlike most other email apps settings for the number of days to synchronize messages for and for the number of days to keep messages for, mainly to save on battery usage. Moreover, setting up an account/identity with the quick setup is simple, so it is not really worth the effort.
<br/>
<aname="faq115"></a>
**(115) Can you add email address chips?**
Email address [chips](https://material.io/design/components/chips.html) look nice, but cannot be edited, which is quite inconvenient when you made a typo in an email address.
Note that FairEmail will select the address only when long pressing an address, which makes it easy to delete an address.
Chips are not suitable for showing in a list and since the message header in a list should look similar to the message header of the message view it is not an option to use chips for viewing messages.
**~~(116) How can I show images in messages from trusted senders by default?~~**
~~You can show images in messages from trusted senders by default by enabled the display setting *Automatically show images for known contacts*.~~
~~Contacts in the Android contacts list are considered to be known and trusted,~~ ~~unless the contact is in the group / has the label '*Untrusted*' (case insensitive).~~
* Open FairEmail and navigate to the pro features screen to let FairEmail check the purchases
You can also try to clear the cache of the Play store app via the Android apps settings. Restarting the device might be necessary to let the Play store recognize the purchase correctly.
Note that:
* Purchases are stored in the Google cloud and cannot get lost
* There is no time limit on purchases, so they cannot expire
* Google does not expose details (name, e-mail, etc) about buyers to developers
If you cannot solve the problem with the purchase, you will have to contact Google about it.
<br/>
<aname="faq118"></a>
**(118) What does 'Remove tracking parameters' exactly?**
Checking *Remove tracking parameters* will remove all [UTM parameters](https://en.wikipedia.org/wiki/UTM_parameters) from a link.
<br/>
<aname="faq119"></a>
**~~(119) Can you add colors to the unified inbox widget?~~**
~~The widget is designed to look good on most home/launcher screens by making it monochrome and by using a half transparent background.~~ ~~This way the widget will nicely blend in, while still being properly readable.~~
~~Adding colors will cause problems with some backgrounds and will cause readability problems, which is why this won't be added.~~
Due to Android limitations it is not possible to dynamically set the opacity of the background and to have rounded corners at the same time.
<br/>
<aname="faq120"></a>
**(120) Why are new message notifications not removed on opening the app?**
New message notifications will be removed on swiping notifications away or on marking the associated messages read. Opening the app will not remove new message notifications. This gives you a choice to leave new message notifications as a reminder that there are still unread messages.
On Android 7 Nougat and later new message notifications will be [grouped](https://developer.android.com/training/notify-user/group). Tapping on the summary notification will open the unified inbox. The summary notification can be expanded to view individual new message notifications. Tapping on an individual new message notification will open the conversation the message it is part of. See [this FAQ](#user-content-faq70) about when messages in a conversation will be auto expanded and marked read.
<br/>
<aname="faq121"></a>
**(121) How are messages grouped into a conversation?**
By default FairEmail groups messages in conversations. This can be turned of in the display settings.
FairEmail groups messages based on the standard *Message-ID*, *In-Reply-To* and *References* headers. FairEmail does not group on other criteria, like the subject, because this could result in grouping unrelated messages and would be at the expense of increased battery usage.
<br/>
<aname="faq122"></a>
**~~(122) Why is the recipient name/email address show with a warning color?~~**
~~The recipient name and/or email address in the addresses section will be shown in a warning color~~ ~~when the sender domain name and the domain name of the *to* address do not match.~~~~Mostly this indicates that the message was received *via* an account with another email address.~~
<br/>
<aname="faq123"></a>
**(123) What will happen when FairEmail cannot connect to an email server?**
When FairEmail cannot connect to an email server to receive messages, for example when the internet connection is bad or a firewall or a VPN is blocking the connection, FairEmail will wait 8, 16 and 32 seconds while keeping the device awake (=use battery power) and try again to connect. If this fails, FairEmail will schedule an alarm to retry after 15, 30 and 60 minutes and let the device sleep (=no battery usage).
Between connectivity changes there is a wait of 90 seconds to give the email server the opportunity to discover the old connection is broken. This is necessary because the internet connection of a mobile device is often lost abruptly and to prevent the problem described in [this FAQ](#user-content-faq23).
Note that [Android doze mode](https://developer.android.com/training/monitoring-device-state/doze-standby) does not allow to wake the device earlier than after 15 minutes.
*Force sync* in the three-dots menu of the unified inbox can be used to let FairEmail attempt to reconnect without waiting.
Sending messages will be retried on connectivity changes only (reconnecting to the same network or connecting to another network) to prevent the email server from blocking the connection permanently. You can pull down the outbox to retry manually.
Note that sending will not be retried in case of authentication problems and when the server rejected the message. In this case you can open/expand the message and use the undo icon to move the message to the drafts folder, possible change it and send it again.
<br/>
<aname="faq124"></a>
**(124) Why do I get 'Message too large or too complex to display'?**
The message *Message too large or too complex to display* will be shown if there are more than 100,000 characters or more than 500 links in a message. Reformatting and displaying such messages will take too long. You can try to use the original message view, powered by the browser, instead.
<br/>
<aname="faq125"></a>
**(125) What are the current experimental features?**
* ...
<br/>
<aname="faq126"></a>
**(126) Can message previews be sent to my wearable?**
FairEmail fetches a message in two steps:
1. Fetch message headers
1. Fetch message text and attachments
Directly after the first step new messages will be notified. However, only until after the second step the message text will be available. FairEmail updates exiting notifications with a preview of the message text, but unfortunately wearable notifications cannot be updated.
Since there is no guarantee that a message text will always be fetched directly after a message header, it is not possible to guarantee that a new message notification with a preview text will always be sent to a wearable.
If you think this is good enough, you can enable the notification option *Only send notifications with a message preview to wearables* and if this does not work, you can try to enable the notification option *Show notifications with a preview text only*.
If you want to have the full message text sent to your wearable, you can enable the notification option *Preview all text*. Note that some wearables are known to crash with this option enabled.
If you use a Samsung wearable with the Galaxy Wearable (Samsung Gear) app, you might need to enable notifications for FairEmail when the setting *Notifications*, *Apps installed in the future* is turned off in this app.
<br/>
<aname="faq127"></a>
**(127) How can I fix 'Syntactically invalid HELO argument(s)'?**
The error *... Syntactically invalid HELO argument(s) ...* means that the SMTP server rejected the local IP address or host name. You can likely fix this error by enabling or disabling the advanced indentity option *Use local IP address instead of host name*.
<br/>
<aname="faq128"></a>
**(128) How can I reset asked questions, for example to show images?**
You can reset asked questions via the three dots overflow menu in the miscellaneous settings.
<br/>
<aname="faq129"></a>
**(129) Are ProtonMail, Tutanota supported?**
ProtonMail uses a proprietary email protocol and [does not directly support IMAP](https://protonmail.com/support/knowledge-base/imap-smtp-and-pop3-setup/), so you cannot use FairEmail to access ProtonMail.
Tutanota uses a proprietary email protocol and [does not support IMAP](https://tutanota.com/faq/#imap), so you cannot use FairEmail to access Tutanota.
<br/>
<aname="faq130"></a>
**(130) What does message error ... mean?**
A series of lines with orangish or red texts with technical information means that debug mode was enabled in the miscellaneous settings.
The warning *No server found at ...* means that there was no email server registered at the indicated domain name. Replying to the message might not be possible and might result in an error. This could indicate a falsified email address and/or spam.
The error *... ParseException ...* means that there is a problem with a received message, likely caused by a bug in the sending software. FairEmail will workaround this is in most cases, so this message can mostly be considered as a warning instead of an error.
The error *...SendFailedException...* means that there was a problem while sending a message. The error will almost always include a reason. Common reasons are that the message was too big or that one or more recipient addresses were invalid.
The warning *Message too large to fit into the available memory* means that the message was larger than 10 MiB. Even if your device has plenty of storage space Android provides limited working memory to apps, which limits the size of messages that can be handled.
Please see [here](#user-content-faq22) for other error messages in the outbox.
<br/>
<aname="faq131"></a>
**(131) Can you change the direction for swiping to previous/next message?**
If you read from left to right, swiping to the left will show the next message. Similarly, if you read from right to left, swiping to the right will show the next message.
This behavior seems quite natural to me, also because it is similar to turning pages.
Anyway, there is a behavior setting to reverse the swipe direction.
<br/>
<aname="faq132"></a>
**(132) Why are new message notifications silent?**
Notifications are silent by default on some MIUI versions. Please see [here](http://en.miui.com/thread-3930694-1-1.html) how you can fix this.
There is a bug in some Android versions causing [setOnlyAlertOnce](https://developer.android.com/reference/android/app/Notification.Builder#setOnlyAlertOnce(boolean)) to mute notifications. Since FairEmail shows new message notifications right after fetching the message headers and FairEmail needs to update new message notifications after fetching the message text later, this cannot be fixed or worked around by FairEmail.
Android might rate limit the notification sound, which can cause some new message notifications to be silent.
<br/>
<aname="faq133"></a>
**(133) Why is ActiveSync not supported?**
The Microsoft Exchange ActiveSync protocol [is patented](https://en.wikipedia.org/wiki/Exchange_ActiveSync#Licensing) and can therefore not be supported. For this reason you won't find many, if any, other email clients supporting ActiveSync.
The Microsoft Exchange Web Services protocol [is being phased out](https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Upcoming-changes-to-Exchange-Web-Services-EWS-API-for-Office-365/ba-p/608055).
Note that the desciption of FairEmail starts with the remark that non-standard protocols, like Microsoft Exchange Web Services and Microsoft ActiveSync are not supported.
<br/>
<aname="faq134"></a>
**(134) Can you add deleting local messages?**
*POP3*
In the account settings (Setup, step 1, Manage, tap account) you can enable *Leave deleted messages on server*.
*IMAP*
Since the IMAP protocol is meant to synchronize two ways, deleting a message from the device would result in fetching the message again when synchronizing again.
However, FairEmail supports hiding messages, either via the three-dots menu in the action bar just above the message text or by multiple selecting messages in the message list.
It is also possible to set the swipe left or right action to hide a message.
<br/>
<aname="faq135"></a>
**(135) Why are trashed messages and drafts shown in conversations?**
Individual messages will rarely be trashed and mostly this happens by accident. Showing trashed messages in conversations makes it easier to find them back.
You can permanently delete a message using the message three-dots *delete* menu, which will remove the message from the conversation. Note that this irreversible.
Similarly, drafts are shown in conversations to find them back in the context where they belong. It is easy to read through the received messages before continuing to write the draft later.
<br/>
<aname="faq136"></a>
**(136) How can I delete an account/identity/folder?**
Deleting an account/identity/folder is a little bit hidden to prevent accidents.
Calendar and contact management can better be done by a separate, specialized app. Note that FairEmail is a specialized email app, not an office suite.
Also, I prefer to do a few things very well, instead of many things only half. Moreover, from a security perspective, it is not a good idea to grant many permissions to a single app.
You are advised to use the excellent, open source [DAVx⁵](https://f-droid.org/packages/at.bitfire.davdroid/) app to synchronize/manage your calendars/contacts.
Most providers support exporting your contacts. Please [see here](https://support.google.com/contacts/answer/1069522) about how you can import contacts if synchronizing is not possible.
Note that FairEmail does support replying to calendar invites (a pro feature) and adding calendar invites to your personal calendar.
<br/>
<aname="faq83"></a>
<aname="faq139"></a>
**(139) How do I fix 'User is authenticated but not connected'?**
In fact this Microsoft Exchange specific error is an incorrect error message caused by a bug in older Exchange server software.
The error *User is authenticated but not connected* might occur if:
* Push messages are enabled for too many folders: see [this FAQ](#user-content-faq23) for more information and a workaround
**(140) Why does the message text contain strange characters?**
Displaying strange characters is almost always caused by specifying no or an invalid character encoding by the sending software. FairEmail will assume [ISO 8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) when no character set or when [US-ASCII](https://en.wikipedia.org/wiki/ASCII) was specified. Other than that there is no way to reliably determine the correct character encoding automatically, so this cannot be fixed by FairEmail. The right action is to complain to the sender.
<br/>
<aname="faq141"></a>
**(141) How can I fix 'A drafts folder is required to send messages'?**
To store draft messages a drafts folder is required. In most cases FairEmail will automatically select the drafts folders on adding an account based on [the attributes](https://www.iana.org/assignments/imap-mailbox-name-attributes/imap-mailbox-name-attributes.xhtml) the email server sends. However, some email servers are not configured properly and do not send these attributes. In this case FairEmail tries to identify the drafts folder by name, but this might fail if the drafts folder has an unusual name or is not present at all.
You can fix this problem by manually selecting the drafts folder in the account settings (Setup, step 1, tap account, at the bottom). If there is no drafts folder at all, you can create a drafts folder by tapping on the '+' button in the folder list of the account (tap on the account name in the navigation menu).
Some providers, like Gmail, allow enabling/disabling IMAP for individual folders. So, if a folder is not visible, you might need to enable IMAP for the folder.
Quick link for Gmail: [https://mail.google.com/mail/u/0/#settings/labels](https://mail.google.com/mail/u/0/#settings/labels)
<br/>
<aname="faq142"></a>
**(142) How can I store sent messages in the inbox?**
Generally, it is not a good idea to store sent messages in the inbox because this is hard to undo and could be incompatible with other email clients.
That said, FairEmail is able to properly handle sent messages in the inbox. FairEmail will mark outgoing messages with a sent messages icon for example.
The best solution would be to enable showing the sent folder in the unified inbox by long pressing the sent folder in the folder list and enabling *Show in unified inbox*. This way all messages can stay where they belong, while allowing to see both incoming and outgoing messages at one place.
If this is not an option, you can [create a rule](#user-content-faq71) to automatically move sent messages to the inbox or set a default CC/BCC address in the advanced identity settings to send yourself a copy.
<br/>
<aname="faq143"></a>
**~~(143) Can you add a trash folder for POP3 accounts?~~**
[POP3](https://en.wikipedia.org/wiki/Post_Office_Protocol) is a very limited protocol. Basically only messages can be downloaded and deleted from the inbox. It is not even possible to mark a message read.
Since POP3 does not allow access to the trash folder at all, there is no way to restore trashed messages.
Note that you can hide messages and search for hidden messages, which is similar to a local trash folder, without suggesting that trashed messages can be restored, while this is actually not possible.
Version 1.1082 added a local trash folder. Note that trashing a message will permanently remove it from the server and that trashed messages cannot be restored to the server anymore.
<br/>
<aname="faq144"></a>
**(144) How can I record voice notes?**
To record voice notes you can press this icon in the bottom action bar of the message composer:
This requires a compatible audio recorder app to be installed. In particular [this common intent](https://developer.android.com/reference/android/provider/MediaStore.Audio.Media.html#RECORD_SOUND_ACTION) needs to be supported.
For example [this audio recorder](https://f-droid.org/app/com.github.axet.audiorecorder) is compatible.
Voice notes will automatically be attached.
<br/>
<aname="faq145"></a>
**(145) How can I set a notification sound for an account, folder or sender?**
Account:
* Enable *Separate notifications* in the advanced account settings (Setup, step 1, Manage, tap account, tap Advanced)
* Long press the account in the account list (Setup, step 1, Manage) and select *Edit notification channel* to change the notification sound
Folder:
* Long press the folder in the folder list and select *Create notification channel*
* Long press the folder in the folder list and select *Edit notification channel* to change the notification sound
Sender:
* Open a message from the sender and expand it
* Expand the addresses section by tapping on the down arrow
* Tap on the bell icon to create or edit a notification channel and to change the notification sound
The order of precendence is: sender sound, folder sound, account sound and default sound.
Setting a notification sound for an account, folder or sender requires Android 8 Oreo or later and is a pro feature.
Sometimes the server received date/time is incorrect, mostly because messages were incorrectly imported from another server and sometimes due to a bug in the email server.
In these rare cases, it is possible to let FairEmail use either the date/time from the *Date* header (sent time) or from the *Received* header as a workaround. This can be changed in the advanced account settings: Setup, step 1, Manage, tap account, tap Advanced.
This will not change the time of already synchronized messages. To solve this, long press the folder(s) in the folder list and select *Delete local messages* and *Synchronize now*.
<br/>
<aname="faq147"></a>
**(147) What should I know about third party versions?**
You likely came here because you are using a third party build of FairEmail.
There is **only support** on the latest Play store version, the latest GitHub release and the F-Droid build, but **only if** the version number of the F-Droid build is the same as the version number of the latest GitHub release.
F-Droid builds irregularly, which can be problematic when there is an important update. Therefore you are advised to switch to the GitHub release.
The F-Droid version is built from the same source code, but signed differently. This means that all features are available in the F-Droid version too, except for using the Gmail quick setup wizard because Google approved (and allows) one signature only.
Note that you'll need to uninstall the F-Droid build first before you can install a GitHub release because Android refuses to install the same app with a different signature for security reasons.
Note that the GitHub version will automatically check for updates. When desired, this can be turned off in the miscellaneous settings.
Please [see here](https://github.com/M66B/FairEmail/blob/master/README.md#user-content-downloads) for all download options.
There is a built-in profile for Apple iCloud, but if needed you can find the right settings [here](https://support.apple.com/en-us/HT202304).
When using two-factor authentication you might need to use an [app-specific password](https://support.apple.com/en-us/HT204397).
<br/>
<aname="faq149"></a>
**(149) How does the unread message count widget work?**
The unread message count widget shows the number of unread messages either for all accounts or for a selected account, but only for the folders for which new message notifications are enabled.
Tapping on the notification will synchronize all folders for which synchronization is enabled and will open:
* the start screen when all accounts were selected
* a folder list when a specific account was selected and when new message notifications are enabled for multiple folders
* a list of messages when a specific account was selected and when new message notifications are enabled for one folder
<br/>
<aname="faq150"></a>
**(150) Can you add cancelling calendar invites?**
Cancelling calendar invites (removing calendar events) requires write calendar permission, which will result in effectively granting permission to read and write *all* calendar events of *all* calendars.
Given the goal of FairEmail, privacy and security, and given that it is easy to remove a calendar event manually, it is not a good idea to request this permission for just this reason.
Inserting new calendar events can be done without permissions with special [intents](https://developer.android.com/guide/topics/providers/calendar-provider.html#intents). Unfortunately, there exists no intent to delete existing calendar events.
<br/>
<aname="faq151"></a>
**(151) Can you add backup/restore of messages?**
An email client is meant to read and write messages, not to backup and restore messages. Note that breaking or losing your device, means losing your messages!
Instead, the email provider/server is responsible for backups.
If you want to make a backup yourself, you could use a tool like [imapsync](https://imapsync.lamiral.info/).
If you want to import an mbox file to an existing email account, you can use Thunderbird on a desktop computer and the [ImportExportTools](https://addons.thunderbird.net/nl/thunderbird/addon/importexporttools/) add-on.
<br/>
<aname="faq152"></a>
**(152) How can I insert a contact group?**
You can insert the email addresses of all contacts in a contact group via the three dots menu of the message composer.
You can define contact groups with the Android contacts app, please see [here](https://support.google.com/contacts/answer/30970) for instructions.
<br/>
<aname="faq153"></a>
**(153) Why does permanently deleting Gmail message not work?**
You might need to change [the Gmail IMAP settings](https://mail.google.com/mail/u/0/#settings/fwdandpop) on a desktop browser to make it work:
* When I mark a message in IMAP as deleted: Auto-Expunge off - Wait for the client to update the server.
* When a message is marked as deleted and expunged from the last visible IMAP folder: Immediately delete the message forever
Note that archived messages can be deleted only by moving them to the trash folder first.
Some background: Gmail seems to have an additional message view for IMAP, which can be different from the main message view.
<br/>
<aname="faq154"></a>
**~~(154) Can you add favicons as contact photos?~~**
~~Besides that a [favicon](https://en.wikipedia.org/wiki/Favicon) might be shared by many email addresses with the same domain name~~ ~~and therefore is not directly related to an email address, favicons can be used to track you.~~
<br/>
<aname="faq155"></a>
**(155) What is a winmail.dat file?**
A *winmail.dat* file is sent by an incorrectly configured Outlook client. It is a Microsoft specific file format ([TNEF](https://en.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format)) containing a message and possibly attachments.
You can find some more information about this file [here](https://support.mozilla.org/en-US/kb/what-winmaildat-attachment).
You can view it with for example the Android app [Letter Opener](https://play.google.com/store/apps/details?id=app.letteropener).
If the wizard ends with *AUTHENTICATE failed*, IMAP and/or SMTP might be disabled for the account. In this case you should ask the administrator to enable IMAP and SMTP. The procedure is documented [here](https://docs.microsoft.com/en-in/exchange/troubleshoot/configure-mailboxes/pop3-imap-owa-activesync-office-365).
<br/>
<aname="faq157"></a>
**(157) How can I set up an Free.fr account?**
Veuillez [voir ici](https://free.fr/assistance/597.html) pour les instructions.
**SMTP est désactivé par défaut**, veuillez [voir ici](https://free.fr/assistance/2406.html) comment il peut être activé.
Veuillez [voir ici](http://jc.etiemble.free.fr/abc/index.php/trucs-astuces/configurer-smtp-free-fr) pour un guide détaillé.
<br/>
<aname="faq158"></a>
**(158) Which camera / audio recorder do you recommend?**
To take photos and to record audio a camera and an audio recorder app are needed. The following apps are open source cameras and audio recorders:
To record voice notes, etc, the audio recorder needs to support [MediaStore.Audio.Media.RECORD_SOUND_ACTION](https://developer.android.com/reference/android/provider/MediaStore.Audio.Media#RECORD_SOUND_ACTION). Oddly, most audio recorders seem not to support this standard Android action.
<br/>
<aname="faq159"></a>
**(159) What are Disconnect's tracker protection lists?**
Please see [here](https://disconnect.me/trackerprotection) for more information about Disconnect's tracker protection lists.
After downloading the lists in the privacy settings, the lists can optionally be used:
* to warn about tracking links on opening links
* to recognize tracking images in messages
Tracking images will be disabled only if the corresponding main 'disable' option is enabled.
Tracking images will not be recognized when the domain is classified as '*Content*', see [here](https://disconnect.me/trackerprotection#trackers-we-dont-block) for more information.
This command can be sent to FairEmail from an automation app to update the protection lists:
```
(adb shell) am startservice -a eu.faircode.email.DISCONNECT.ME
Updating once a week will probably be sufficient, please see [here](https://github.com/disconnectme/disconnect-tracking-protection/commits/master) for recent lists changes.