Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Chatwoot
  3. Live Chat issue with email replies

Live Chat issue with email replies

Scheduled Pinned Locked Moved Chatwoot
22 Posts 4 Posters 3.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jfrereJ jfrere

    @girish I configured the cloudron mailbox, then configured the chatwoot inbox to connect with IMAP and SMTP. This works fine.

    BUT when you use a Live Chat inbox, and you have enabled allow conversation continuity with email and the user quit the Live Chat page. The user receive a conversation transcript.
    This should include a reply+randomtag@mydomain.com

    But it's still a reply+randomtag@see-docs.cloudron.io

    Anyway, I don't know how a reply+randomtag@mydomain.com would reach chatwoot.app@mydomain.com inbox.

    And I don't know if the reply+randomtag@mydomain.com would reach the Live Chat inbox. I guess it would best reach the related Chatwoot inbox.

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #10

    @jfrere So, per https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity#configure-inbound-email-domain-environment-variable , it says "After finishing the set up, the mail sent from Chatwoot will have a replyto: in the following format reply+<random-hex>@<your-domain.com> and reply to those would get appended to your conversation." . Maybe it's hardcoded.

    jfrereJ 1 Reply Last reply
    0
    • girishG girish

      @jfrere So, per https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity#configure-inbound-email-domain-environment-variable , it says "After finishing the set up, the mail sent from Chatwoot will have a replyto: in the following format reply+<random-hex>@<your-domain.com> and reply to those would get appended to your conversation." . Maybe it's hardcoded.

      jfrereJ Offline
      jfrereJ Offline
      jfrere
      wrote on last edited by
      #11

      @girish maybe we should try to configure some sort of catch all address for @my-domain.com ?

      girishG 1 Reply Last reply
      0
      • jfrereJ jfrere

        @girish maybe we should try to configure some sort of catch all address for @my-domain.com ?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #12

        @jfrere you don't need a catch-all. Any replies of the form mailbox+xyz@domain.com automatically go to the mailbox@domain.com . This is called subaddress - https://docs.cloudron.io/email/#subaddresses . So, you just need to create reply@ mailbox. I was referring to "reply" being hardcoded.

        jfrereJ 1 Reply Last reply
        0
        • girishG girish

          @jfrere you don't need a catch-all. Any replies of the form mailbox+xyz@domain.com automatically go to the mailbox@domain.com . This is called subaddress - https://docs.cloudron.io/email/#subaddresses . So, you just need to create reply@ mailbox. I was referring to "reply" being hardcoded.

          jfrereJ Offline
          jfrereJ Offline
          jfrere
          wrote on last edited by jfrere
          #13

          @girish ok got it. Will try. What would be best, creating an alias reply@my-domain.com for chatwoot.app@my-domain.com or changing chatwoot.app with reply?

          1 Reply Last reply
          0
          • girishG girish

            @jfrere Did you adjust export MAILER_INBOUND_EMAIL_DOMAIN="see-docs.cloudron.io" in /app/data/env.sh ? Important: the export keyword in the front. Also, you should restart the app after making the change. Atleast , that should get the mydomain.com part sorted out. Not sure where reply+xx comes from. Maybe it's hardcoded in chatwoot ? Or maybe it's part of live chat configuration ?

            jfrereJ Offline
            jfrereJ Offline
            jfrere
            wrote on last edited by
            #14

            @girish said in Live Chat issue with email replies:

            @jfrere Did you adjust export MAILER_INBOUND_EMAIL_DOMAIN="see-docs.cloudron.io" in /app/data/env.sh ? Important: the export keyword in the front. Also, you should restart the app after making the change. Atleast , that should get the mydomain.com part sorted out. Not sure where reply+xx comes from. Maybe it's hardcoded in chatwoot ? Or maybe it's part of live chat configuration ?

            So just to let you know, it seems that adding export MAILER_INBOUND_EMAIL_DOMAIN=my-domain.com doesn't work. We might have a bug here.

            girishG 1 Reply Last reply
            0
            • jfrereJ jfrere

              @girish said in Live Chat issue with email replies:

              @jfrere Did you adjust export MAILER_INBOUND_EMAIL_DOMAIN="see-docs.cloudron.io" in /app/data/env.sh ? Important: the export keyword in the front. Also, you should restart the app after making the change. Atleast , that should get the mydomain.com part sorted out. Not sure where reply+xx comes from. Maybe it's hardcoded in chatwoot ? Or maybe it's part of live chat configuration ?

              So just to let you know, it seems that adding export MAILER_INBOUND_EMAIL_DOMAIN=my-domain.com doesn't work. We might have a bug here.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #15

              @jfrere Can confirm that it doesn't work for me either.

              jfrereJ 2 Replies Last reply
              0
              • girishG girish

                @jfrere Can confirm that it doesn't work for me either.

                jfrereJ Offline
                jfrereJ Offline
                jfrere
                wrote on last edited by
                #16

                @girish you should fill a bug report, I don't know where to do that.

                girishG 1 Reply Last reply
                0
                • girishG girish

                  @jfrere Can confirm that it doesn't work for me either.

                  jfrereJ Offline
                  jfrereJ Offline
                  jfrere
                  wrote on last edited by
                  #17

                  @girish I've added an reply@my-domain.com alias to the chatwoot.app@my-domain.com mailbox.

                  If you reply to the email with the provided reply+randomhex@my-domain.com, then the email goes into the Cloudron email inbox in Chatwoot, but is not appended to the actual Live Chat conversation. So it's useless.

                  whitespaceW 1 Reply Last reply
                  0
                  • jfrereJ jfrere

                    @girish you should fill a bug report, I don't know where to do that.

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #18

                    @jfrere said in Live Chat issue with email replies:

                    @girish you should fill a bug report, I don't know where to do that.

                    I found the issue here. If you recreate the Inbox inside chatwoot, it works. Not great but atleast it works. I will put this in our docs.

                    1 Reply Last reply
                    1
                    • jfrereJ jfrere

                      @girish thank you. It's not necessary to configure cloud storage?

                      Assuming Chatwoot is configured with the mail from address chatwoot.app@mydomain.com in Cloudron by default, that the outbound smtp server is build in by default.

                      What should I do? To have a step by step documentation would be great!!

                      1. Add a Cloudron inbox chatwoot.app@mydomain.com then attribute it to which user?
                      2. Follow the procedure described here https://docs.cloudron.io/apps/chatwoot/#email-inbox-configuration to connect Chatwoot to the Cloudron inbox?
                      3. Change the outbound smtp server to external, then put the Cloudron inbox credentials?

                      Or should I use an external email server (out of Cloudron)?

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #19

                      @jfrere said in Live Chat issue with email replies:

                      @girish thank you. It's not necessary to configure cloud storage?

                      I was confused why you said this. I now understand what you meant . In their docs it says "Conversation Continuity requires your chatwoot installation to have a cloud storage configured" at https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity#configuring-inbound-reply-emails . I have no idea why. You will have to ask them if how these are all related.

                      After that, it seems you need getmail6 and run it as cronjob and feed it through some curl call. This all seems unnecessarily complex to setup and will break 😕

                      1 Reply Last reply
                      0
                      • jfrereJ jfrere

                        @girish I've added an reply@my-domain.com alias to the chatwoot.app@my-domain.com mailbox.

                        If you reply to the email with the provided reply+randomhex@my-domain.com, then the email goes into the Cloudron email inbox in Chatwoot, but is not appended to the actual Live Chat conversation. So it's useless.

                        whitespaceW Offline
                        whitespaceW Offline
                        whitespace
                        wrote on last edited by
                        #20

                        @jfrere As I am facing the same issue. Has this not been resolved yet?

                        1 Reply Last reply
                        0
                        • jfrereJ Offline
                          jfrereJ Offline
                          jfrere
                          wrote on last edited by
                          #21

                          @whitespace I don't think so.

                          girishG 1 Reply Last reply
                          0
                          • jfrereJ jfrere

                            @whitespace I don't think so.

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by girish
                            #22

                            @jfrere Did you ask in the upstream issue tracker or forum about this? The docs are a bit lacking/suspect here for us to debug this.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search