Email: show the workspace logo on support replies (optional)

Aberta
#671 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
18/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
nextjs, typescript
Domínio
backend, frontend

Direção de pesquisa

Start with CONTRIBUTING.md, then the Settings, Email area for the new opt-in setting and the Pro-plan gate. The work depends on #670 for the stored logo and its PNG copy, which has no linked pull request yet. Done means the setting is off by default, a reply with it on includes the logo, name and a plain-text part, and connected Gmail or Outlook mailboxes follow the stated rules.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

backend enhancement frontend

The problem today

Support replies that answerLoops sends to a workspace's customers go out as plain text. A workspace that wants its logo at the top of a reply, so the reply looks like it came from its own brand, has no way to do it.

What to build

  1. An optional setting under Settings, Email, to add a small header to email replies that shows the workspace logo and name. It is off by default.
  2. When it is on, replies are sent in a simple, narrow, readable layout that includes the logo, with a plain-text version alongside it so every email app can show the reply.
  3. The logo in the email is a small PNG copy of the workspace logo (128 by 128, shown at about 48 to 64 pixels), because some email apps cannot show WebP. The copy is made when the logo is uploaded.
  4. The image has descriptive text, and the reply reads fine when the app hides images, which many do until the reader allows them.
  5. A short note beside the setting explaining that the logo is loaded from the answerLoops address, and that some readers see it only after they allow images.

Rules

  • Plain text from the customer and the team is shown as plain text only.
  • Only owners and admins can change the setting.
  • Pro and above only, like the logo it shows. A Standard workspace sees the setting locked with the usual upgrade message, and the server refuses a save from it.
  • The reply must still read correctly with no image and no styling.
  • Replies sent through a connected Gmail or Outlook mailbox follow the same setting, if the mailbox's sending method allows a formatted layout; if not, they stay plain text and the setting says so.
  • No tracking pixels.

Out of scope

  • The emails answerLoops sends to a workspace's own team (the new-lead email and similar). Those stay answerLoops branded.
  • Custom fonts, colors or full email templates.
  • Letting owners paste their own email HTML.

Done when

  • With the setting off, replies are exactly as they are today.
  • With it on, replies show the logo and name at the top and still include a plain-text part.
  • The logo in the email is a PNG, with descriptive text.
  • A reply reads fine with images blocked.
  • Replies through a connected mailbox behave as the rules above describe.
  • Looks right on a phone-width email client.
  • Tests cover the above.
  • Docs describe it.

Depends on

#670 (Dashboard: upload your workspace logo) for the stored logo and the PNG copy.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Linguagem predominante
TypeScript
Estrelas
16
Forks
2
Merge médio
5h 25min
PRs com merge (30d)
168

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de answerLoops/answerLoops

Todas as issues de answerLoops/answerLoops

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.