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 2.9k 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 Offline
      jfrereJ Offline
      jfrere
      wrote on last edited by jfrere
      #1

      Hello,

      We've configured the live chat inbox to allow conversation continuation by email. The customer receive the conversation transcript with the chatwoot.app@mydomain.com email address. Obviously, the customer can't answer to this email and if he does, then an error message (see attached pictures).

      We didn't tune the original Cloudron / Chatwoot installation.

      We'd like our customer to reply to the email and continue the conversation, or have a link inside the transcript to connect back to the livechat.

      And we'd like to translate the transcript email message in French.

      Capture d’écran 2023-04-28 à 12.07.25.png
      Capture d’écran 2023-04-28 à 12.09.40.png

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jayonrails
        translator
        wrote on last edited by
        #2

        Have you've looked up in the documentation, as it is stated in the e-mail?

        jfrereJ 2 Replies Last reply
        0
        • J jayonrails

          Have you've looked up in the documentation, as it is stated in the e-mail?

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

          @jayonrails you're right. Will look into https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity

          girishG 1 Reply Last reply
          0
          • J jayonrails

            Have you've looked up in the documentation, as it is stated in the e-mail?

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

            @jayonrails followed the docs, now I've the .env variables setup properly, but it doesn't work. Look at the reply-to address.

            chatwoot2-h.png chatwoot1-h.png

            1 Reply Last reply
            0
            • jfrereJ jfrere

              @jayonrails you're right. Will look into https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity

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

              @jfrere the docs it is referring to is https://docs.cloudron.io/apps/chatwoot/#email-inbox-configuration . For a customer to reply chatwoot.app@mydomain.com, you have to create an inbox named chatwoot.app@mydomain.com . Only then will IMAP work.

              jfrereJ 1 Reply Last reply
              0
              • girishG girish

                @jfrere the docs it is referring to is https://docs.cloudron.io/apps/chatwoot/#email-inbox-configuration . For a customer to reply chatwoot.app@mydomain.com, you have to create an inbox named chatwoot.app@mydomain.com . Only then will IMAP work.

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

                @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 2 Replies Last reply
                0
                • 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
                  #7

                  @jfrere I think

                  1. The inbox you create on Cloudron can be attributed to your own user I guess. You can create an app password for that mailbox or alternately create a separate bot user and attribute it to that.

                  2. The info in https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity has some other IMAP configuration. TBH, I don't know what that is. It wants us to run a cron script to fetch email, not sure what all that is. There is already a IMAP ui in chatwoot. Is it separate from that? (I guess this is a question for others on the forum...)

                  3. The same credentials can be used for inbound and oubound once you create the Cloudron inbox.

                  jfrereJ 1 Reply Last reply
                  0
                  • girishG girish

                    @jfrere I think

                    1. The inbox you create on Cloudron can be attributed to your own user I guess. You can create an app password for that mailbox or alternately create a separate bot user and attribute it to that.

                    2. The info in https://www.chatwoot.com/docs/self-hosted/configuration/features/email-channel/conversation-continuity has some other IMAP configuration. TBH, I don't know what that is. It wants us to run a cron script to fetch email, not sure what all that is. There is already a IMAP ui in chatwoot. Is it separate from that? (I guess this is a question for others on the forum...)

                    3. The same credentials can be used for inbound and oubound once you create the Cloudron inbox.

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

                    @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 2 Replies Last reply
                    0
                    • 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
                      #9

                      @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 1 Reply Last reply
                      0
                      • 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
                                            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