The original post: /r/selfhosted by /u/Dan6erbond2 on 2024-11-10 15:53:35.

Hey everyone! I just released GoMailMark, a Go-based web application that allows users to generate email signatures using Templ and integration with S3 to upload assets needed in your signatures.

GoMailMark is perfect for teams or organizations that want a unified email signature design but also value the flexibility to customize. With a reusable template, you can easily maintain a consistent look across your team’s signatures. For users with some design experience, the HTML template at views/components/signature.templ is fully customizable to match your company’s brand or design needs.

Once you’ve modified the template, you can launch GoMailMark with go run main.go and head to http://localhost:8000 where you will be prompted to enter information about yourself such as name, role and email that will be injected into the email template.

https://preview.redd.it/bnvw8cioi30e1.png?width=1155&format=png&auto=webp&s=84ced7e1bb1c8e0937e018afafc38c44edbafc9b

If you want to use GoMailMark in other applications, it can generate signatures programmatically. Just send a multi-part form HTTP POST request to the / endpoint, and GoMailMark will return the HTML signature as the response.

I’m still working on this project, and will try to find an easy way to deploy it using Docker. However, due to its customizable nature it will be recommended to build your own image.

GoMailMark also supports configuration via environment variables as well as JSON and YAML configs, which is where it will pull the S3 config and default branding/company information from. Check out the README in the repo for more details!