papercups-io / papercups

Open-source live customer chat
https://app.papercups.io/demo
MIT License
5.75k stars 515 forks source link

Create email contact form widget #911

Open reichert621 opened 3 years ago

reichert621 commented 3 years ago

Problem Sometimes users just want to have their customers send them an email through the widget, rather than have a real-time live chat session.

Solution Either create a new widget for this, or update the chat widget to support an option for just rendering an email contact form UI.

(NB: This will require that the customer sets up the gmail integration)

When a user sends a message through this email contact form, it should:

We should also maybe include a form input to filter out bot accounts like mailchimp, e.g. something like:

      <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
      <div style="position: absolute; left: -5000px" aria-hidden="true">
        <input
          type="text"
          name="a_766d156f17xxxxxxxxxx1df_a0bc8b016z"
          tabindex="-1"
          value=""
        />
      </div>

Testing Describe how this should be tested.

Questions, or need help getting started? Feel free to ask below, or ping us on Slack :)

(You can also check out our CONTRIBUTING.md)

reichert621 commented 3 years ago

(Follow up for https://github.com/papercups-io/papercups/issues/829)