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

Open
#671 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
nextjs, typescript
Domain
backend, frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
16
Forks
2
Avg merge
5h 25m
Merged PRs (30d)
168

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from answerLoops/answerLoops

All issues in answerLoops/answerLoops

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.