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. Discuss
  3. Managing Mailing Lists on Cloudron

Managing Mailing Lists on Cloudron

Scheduled Pinned Locked Moved Discuss
6 Posts 4 Posters 745 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.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by robi
      #1

      How do you use the Mailling list features of Cloudron?

      How do you add people to the list automatically?

      Issues?
      Gotchas?
      Stuckness?
      Hacks?

      Conscious tech

      andreasduerenA 1 Reply Last reply
      2
      • avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote on last edited by
        #2

        I thought one thing that would be nice is to be able to create a list from a Cloudron Group (i.e. mailing list that contains emails of everyone in a group and that gets updated each time you add or remove a user from a group). I don't know how the database works and how easy that might be to implement though...maybe someone knows?

        1 Reply Last reply
        1
        • robiR robi

          How do you use the Mailling list features of Cloudron?

          How do you add people to the list automatically?

          Issues?
          Gotchas?
          Stuckness?
          Hacks?

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          wrote on last edited by
          #3

          @robi I'm also trying to give users the option to manage the list without giving them admin access. But it seems like there is no API endpoint for the mailing lists? It would be nice to build a telegram bot via n8n or something like that. @girish do you know anything about that?

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @andreasdueren it's https://docs.cloudron.io/api.html#tag/Mail/operation/addList . BTW, will mail manager role work for you?

            andreasduerenA 2 Replies Last reply
            1
            • girishG girish

              @andreasdueren it's https://docs.cloudron.io/api.html#tag/Mail/operation/addList . BTW, will mail manager role work for you?

              andreasduerenA Offline
              andreasduerenA Offline
              andreasdueren
              wrote on last edited by
              #5

              @girish I could. But I'd rather not introduce people to an interface they are not familiar with. It's mostly a matter of trying to avoid onboarding.

              1 Reply Last reply
              0
              • girishG girish

                @andreasdueren it's https://docs.cloudron.io/api.html#tag/Mail/operation/addList . BTW, will mail manager role work for you?

                andreasduerenA Offline
                andreasduerenA Offline
                andreasdueren
                wrote on last edited by
                #6

                @girish Maybe you can help me understand the API documentation. Below what I'm trying to set up: A n8n form that will give people the option to enter an address to either add or remove it from the list. However I'm struggling to understand what the payload should look like for the web hook request:

                {
                  "nodes": [
                    {
                      "parameters": {
                        "formTitle": "Change List",
                        "formFields": {
                          "values": [
                            {
                              "fieldLabel": "E-Mail",
                              "fieldType": "email",
                              "placeholder": "E-Mail@tld.onl",
                              "requiredField": true
                            },
                            {
                              "fieldLabel": "Action",
                              "fieldType": "dropdown",
                              "fieldOptions": {
                                "values": [
                                  {
                                    "option": "+"
                                  },
                                  {
                                    "option": "-"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        "responseMode": "lastNode",
                        "options": {}
                      },
                      "type": "n8n-nodes-base.formTrigger",
                      "typeVersion": 2.2,
                      "position": [
                        140,
                        240
                      ],
                      "id": "ce3e3e25-8d70-420b-aaae-48acd5dc3bad",
                      "name": "On form submission",
                      "webhookId": "290cb5dc-0f99-42a2-b3e9-32d9ef27761c"
                    },
                    {
                      "parameters": {
                        "method": "POST",
                        "url": "https://my.tld.onl/api/v1/mail/domain/lists/test",
                        "authentication": "genericCredentialType",
                        "genericAuthType": "httpHeaderAuth",
                        "sendBody": true,
                        "bodyParameters": {
                          "parameters": [
                            {
                              "name": "members",
                              "value": "={{ $json.Action }} [{{ $json['E-Mail'] }}]  "
                            }
                          ]
                        },
                        "options": {}
                      },
                      "type": "n8n-nodes-base.httpRequest",
                      "typeVersion": 4.2,
                      "position": [
                        400,
                        240
                      ],
                      "id": "d223c671-6340-416a-affa-12966a42b2d3",
                      "name": "HTTP Request1",
                      "credentials": {
                        "httpHeaderAuth": {
                          "id": "swkFIAxjlW7JU6oB",
                          "name": "my.tld.onl API"
                        }
                      }
                    }
                  ],
                  "connections": {
                    "On form submission": {
                      "main": [
                        [
                          {
                            "node": "HTTP Request1",
                            "type": "main",
                            "index": 0
                          }
                        ]
                      ]
                    }
                  },
                  "pinData": {}
                }
                ```",
                              "requiredField": true
                            },
                            {
                              "fieldLabel": "Handlung",
                              "fieldType": "dropdown",
                              "fieldOptions": {
                                "values": [
                                  {
                                    "option": "+"
                                  },
                                  {
                                    "opttld.onlion": "-"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        "responseMode": "lastNode",
                        "options": {}
                      },
                      "type": "n8n-nodes-base.formTrigger",
                      "typeVersion": 2.2,
                      "position": [
                        140,
                        240
                      ],
                      "id": "ce3e3e25-8d70-420b-aaae-48acd5dc3bad",
                      "name": "On form submission",
                      "webhookId": "290cb5dc-0f99-42a2-b3e9-32d9ef27761c"
                    },
                    {
                      "parameters": {
                        "method": "POST",
                        "url": "https://my.tld.onl/api/v1/mail/domain/lists/test",
                        "authentication": "genericCredentialType",
                        "genericAuthType": "httpHeaderAuth",
                        "sendBody": true,
                        "bodyParameters": {
                          "parameters": [
                            {
                              "name": "members",
                              "value": "={{ $json.Action }} [{{ $json['E-Mail'] }}]  "
                            }
                          ]
                        },
                        "options": {}
                      },
                      "type": "n8n-nodes-base.httpRequest",
                      "typeVersion": 4.2,
                      "position": [
                        400,
                        240
                      ],
                      "id": "d223c671-6340-416a-affa-12966a42b2d3",
                      "name": "HTTP Request1",
                      "credentials": {
                        "httpHeaderAuth": {
                          "id": "swkFIAxjlW7JU6oB",
                          "name": "my.tld.onl API"
                        }
                      }
                    }
                  ],
                  "connections": {
                    "On form submission": {
                      "main": [
                        [
                          {
                            "node": "HTTP Request1",
                            "type": "main",
                            "index": 0
                          }
                        ]
                      ]
                    }
                  },
                  "pinData": {}
                }
                
                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