return to table of content

Show HN: Sendune – open-source HTML email designer

rmbyrro
12 replies
1d2h

I have the personal impression that it would be a net positive if all emails were written as text.

Ok, in some cases I see why html would make some sense. In those cases, my opinion is: send text and invite the person to view markup content in their browser.

The e-mail context is not suitable for markup, styling, and all this stuff.

FredPret
4 replies
1d

Talking to non-tech people means you're going to be copy-pasting screenshots and replying in blue text next to their bullet points that was written in black text.

To say nothing of legitimate marketing emails (which many people rely on to get coupons and deals) that has to feature pictures and the like.

prmoustache
1 replies
23h12m

legitimate marketing emails

I don't think there is such a thing.

FredPret
0 replies
22h38m

I receive many such emails that I signed up for and am happy to get.

The senders of those emails are happy to send them.

Unless you - an unrelated third party - think you have the right to insert yourself into this business relationship, it's completely legitimate.

eikenberry
1 replies
22h37m

Talking to non-tech people means you're going to be copy-pasting screenshots and replying in blue text next to their bullet points that was written in black text.

None of that requires HTML. Using ">" to denote previous conversation quotes is the standard and they normally get highlighted different than reply text. And images just need a decent 'drag-to-add-attachment' flow.

Marketing emails don't matter as they are an abuse of the platform.

FredPret
0 replies
22h3m

The entire reason email (and the internet) took off is because there are many ways to use it, for many purposes.

Handing down diktats about the correct use cases and workflows for a flexible thing that is currently being used by billions of people in billions of ways - like email - will either reduce your personal relevance to them, or, if you succeed in pushing your vision onto the popular thing, drive people away from it.

trallnag
2 replies
1d2h

So plain text, not even links with <a>?

rspoerri
0 replies
1d2h

I intentionally disable html on my email programms and block all internet access for my mail program to the internet (except for the smtp, imap hosts of course)

graemep
0 replies
1d2h

Yes. Links can be automatically marked up in the client.

The problem is there is no practical way of getting back to plain text, or even to a different type of markup.

guhcampos
1 replies
18h27m

You're being nice.

I plain cringed when I saw the headline. This sounded like a tool designed by some evil entity to bring destruction upon the World.

skull723
0 replies
17h51m

Yeah, the headline alone made me angry. I'm glad I'm not the only one.

Ringz
0 replies
1d

That's why I am using aerc so that even HTML mails are presented as text in my terminal.

Another problem are mails that don't have the TXT part and *only* HTML.

NoboruWataya
0 replies
1d1h

I would love first class support for some limited subset of markdown (same for browsers actually).

ibdf
12 replies
1d2h

I was writing them email templates 15 years ago... oh... look we are still using tables. How has email markup not evolved?

samdung
3 replies
1d2h

it has not evolved much. and i believe that's a good thing. this is the reason why emails from 20 years ago look the same even if you open them today. given the short life of everything on the internet, email is a wonderful thing.

NoboruWataya
1 replies
1d1h

Yes, I have no idea why UI practices need to constantly "evolve". As far as I am concerned a lot of UI is getting worse over time so the less evolution the better.

johannes1234321
0 replies
23h58m

There is some need to evolve as contexts change. Screen sizes and capabilities, computing speed, available bandwitdth etc.

Also humans seem to need fashion as a mechanism to show belonging and distinction. (Differentiate form parents generation, show affiliation to some sub culture, ...)

And then there is the hope to make the production more efficient. (Which may not work out)

userbinator
0 replies
14h3m

There are periodic items on here from people having trouble with self-hosted email, but nonetheless I think it's also not suffered the same closed-systems/walled-garden effect as much as other protocols like IM.

dogas
1 replies
1d1h

We still have to use outdated layout / css techniques because some email clients (cough outlook) only support a limited set of HTML/CSS features, and they seem to have no plans to want to make things easier for those who send html emails.

See https://www.caniemail.com/scoreboard/ and take note of what's at the bottom of that list.

Avamander
0 replies
1d1h

and they seem to have no plans to want to make things easier for those who send html emails.

We just need so called "Kobold letters" to catch on so that all the inconsistencies become an actual threat. I'm only partially joking.

conradolandia
1 replies
1d2h

Email clients and servers have not evolved

skull723
0 replies
17h48m

though Exchange certainly did mutate like stillbirths at Chernobyl.

bilater
1 replies
1d1h

The argument for this I always get is security. Since email is so critical reducing the surface area of html/css supported somehow makes it secure. I...don't really buy it.

blowski
0 replies
1d

It’s hard to imagine “full CSS support” being a selling point for an email client. Even for a free email client, funded by advertising, compatibility with other email clients is necessary for the advertisers.

Avamander
1 replies
1d1h

I've long wished for something like Markdown for email, but something that can actually be standardised and doesn't suffer so much under HTML's influence.

I guess Google tries/tried with AMP but it's not that and I doubt they have the resilience to keep the effort up for decades for it to catch on.

gav
0 replies
1d1h

You can use MJML - https://mjml.io/ - which abstracts away a lot of the ugliness and Outlook hacks.

samdung
9 replies
1d2h

Oh! I wasn’t expecting this. I’ll be here a couple of hours to answer any questions.

cheapgeek
3 replies
1d2h

No malicious intent here but the post says it was submitted by you.

What exactly were you "not expecting"?

samdung
0 replies
1d2h

wasn't expecting to hit the front page so soon given all the attention towards crowdstrike.

bogzz
0 replies
1d2h

the upvotes?

_kush
0 replies
1d2h

not expecting to be on the front page maybe

layer8
1 replies
23h29m

How did you reliably determine what works and what doesn’t in “untold combination of os/desktop/mobile clients“? Is there a description of that somewhere?

daliusd
0 replies
21h32m

There is site for that https://www.caniemail.com/ . I don’t use it, even if I work on email marketing software, but I guess it might be useful sometimes.

mnutt
0 replies
1d

Looks very nice. I'm curious about "no mjml" -- I've worked with authoring tools in related domains and found that separating the serialization format from the output format has some benefits. It manifested in needing to store editing concerns like "this element is locked" in the HTML when it had no business being in the HTML output.

brianjking
0 replies
1d2h

Oh wow, nice, thanks for the MIT License!

AlexDragusin
0 replies
1d

Very nice work and very well deserved the front page #2 spot! Thank you!

orra
3 replies
1d

Cool that you open sourced this. As you say there's nothing open quite like this.

Not using MJML as a design decision. Foes that simplify deployment a lot, or just keep things lighter? In turn, do you have to strangle a lot of compatibility issues yourself? etc. Thanks.

carlosjobim
2 replies
23h57m

I think it's distinctly uncool that this was published as open source. OP should charge money from all the swines that will use the software, including people like me.

samdung
1 replies
16h17m

go ahead and feel free to use it. that is what we intended it for.

carlosjobim
0 replies
1h29m

I'm super down voted by open source enthusiasts who want free stuff, but I really think you should charge for this software. It's only going to be used by businesses, so they should pay for it. You wouldn't go to your local McDonald's and offer to work for free for them all day, would you?

mska
3 replies
19h33m

Really great thanks! Is it possible to add responsive styles? Such as converting columns into rows on smaller device screens?

samdung
0 replies
16h23m

Yes, this designer does that. please test it out.

gamegod
3 replies
1d2h

Looks awesome. Is there a way to load saved templates?

samdung
2 replies
1d2h

there's an export HTML functionality. you can use this to save templates once you embed this in your project.

gamegod
1 replies
21h51m

I appreciate the response, but that's not what I was asking. I'll rephrase as a workflow question: After I make a design in your editor, I'll want to reuse that for future emails. Is there a way to load a saved design back in (that I previously made in your editor) so I don't have to redesign every email from scratch?

samdung
0 replies
16h13m

got it. that is an implementation you will have to do when you embed it in app. it's basically exporting the HTML, giving it a name and storing it a database. this functionality is beyond the scope of the demo. but we have it at https://sendune.com/

SoftTalker
3 replies
20h3m

The entire premise is absurd.

I will grant that many people want rich text, formatted emails with images and logos. I don't want that but understand the wants and needs are different for others.

For gods sake why HTML? A fairly simple markup language (Markdown, orgmode, etc) would have sufficed, would have eliminated the need for separate plain and html versions of every email, been far more accessible to screen-readers and other assistive devices, been far less privacy-invading, and been far less vulerable to security problems.

But no, the answer was "let's put a full-blown web browser in every email client"

I know the horses have left the gate.

userbinator
0 replies
13h44m

There was an attempt to standardise what looks like an HTML-subset for formatted emails: https://en.wikipedia.org/wiki/Enriched_text

But unfortunately it wasn't very popular.

shortformblog
0 replies
19h28m

I just want one thread about HTML email to not be a re-litigation of this point. It’s been around for a quarter-century at this point. It’s well-established. It has plenty of warts, but it’s not going away.

There are better ways to push the ball forward than this recurrent frustration over something that is so broadly used. A key one would be to improve support for making divs display properly in HTML emails, so the format could be more accessible, for example, as well as to look into ways to push corporations away from outdated email clients. Finally, a way to sandbox emails to help minimize concerns around risky designs would be ideal.

AMP is a dirty word around these parts, but Google’s AMP for Email did some of these things.

I don’t know what that would look like, but there has to be a better way to expel our energy than just being frustrated about something that’s unlikely to change.

grepfru_it
0 replies
20h1m

Because at the time web browsers were taking off and web based mail services (Hotmail yahoo etc) were taking off. Back in that time the alternative to html was Tex.

Why do we still boot to 16-bit protected mode to launch any OS on x64? shrug but you are welcome to move that mountain :)

nik736
2 replies
1d1h

The drag and drop part is not working for me, Firefox, macOS. I can click on the elements on the left and they will pop up, but I am not able to drag them onto the email.

samdung
1 replies
14h31m

although the name says 'drag and drop', it's not truly that. you click on any column in the designer and then select the component (heading, text, image, etc) in the left panel. you can then move components up and down using the arrows.

we found this approach simpler than drag and drop, especially when designing long emails.

let me know if drag and drop is something thats an absolute for you. we can bring it back.

spongeb00b
0 replies
9h49m

UI-wise then I wonder if it would work better to have a "+" button inside each column, clicking that then gives a popover of available components right where you’re adding them.

tejtm
1 replies
23h9m

View -> Message Body As -> Plain Text

Not your fault, but please always provide fall back text.

samdung
0 replies
14h30m

got it. plain text fall back is on our todo list.

shortformblog
1 replies
23h28m

No MJML feels like a mistake. I design emails and that is literally the most important feature to me.

shortformblog
0 replies
21h11m

Because someone keeps commenting and immediately deleting their comments in reply to this: MJML is a tool to essentially “fix” email, which essentially has to work around out-of-date clients and incomplete HTML specs.

If it feels out of date, it’s because HTML email itself is out of date.

rd
1 replies
1d2h

How does this compare to something like resend?

gls2ro
0 replies
10h12m

Is this a genuine question? I dont want to be rude but I dont understand how are you asking this?

Just in case it is a genuine question:

- This is a tool for designing/creating emails - they say in the title of this post "Open source HTML email designer"

- Resend is a tool for sending emails: "Deliver transactional and marketing emails at scale" this is from the hero of resend homepage

I dont know any of them, just opened the Resend website and read the hero and read the description of the post you are commenting.

adeptima
1 replies
21h46m

This work looks very promising. "HTML for email" is indeed hard to design and hard to implement. Especially editing on mobile, tablet devices, or asian (two+ bytes japanese, chinese) languages input nightmare.

I do lot of email templating for B2B CRM use cases and decided to opt out for a bit different approach based on slatejs/platejs editor

https://docs.slatejs.org/

https://github.com/ianstormtaylor/slate

https://github.com/udecode/plate

The internal representation of email template with variables in slatejs/platejs json format can look like:

{ "type": "h1", "children": [ { "text": " Blocks {{template_value}} {{$timenow}}}" } ], "id": "1" }

Can be easily stored in Postgres jsonb. Very easy to add Reacjs base widgets like mentioning, media, diagrams, etc inside of slatejs/platejs editor.

The drawback is that you can't design the exactly the same pixel perfect template.

The better abstraction is probably MJML - https://mjml.io/ ... and yet with slatejs/platejs json format you can copy&paste your editings across various assets in CRM, knowledge base, etc

Storing data in MJML is not a great choise for me

<mj-text align="left" color="#55575d" font-family="Arial, sans-serif" font-size="13px" line-height="22px" padding-bottom="0px" padding-top="0px" padding="10px 25px"> ...

Was thinking about using something similar to /SendWithSES/Drag-and-Drop-Email-Designer as the last final step ... but couldn't settle it my brain and most end-users dont care anyway.

Any thoughts on data representations and "Postgres <> Editor > Email HTML > Send button" dataflow is greatly appreciated. Very few people have serious thoughts on the subject.

shortformblog
0 replies
21h30m

You can set an <mj-class> at the top of the file for a given design format to simplify your code. So in your example, if you did:

<mj-class name="typebox" padding-bottom="0px" padding-top="0px" padding="10px 25px">

<mj-class name="paragraph" color="#55575d" align="left" font-family="Arial, sans-serif" font-size="13px" line-height="22px">

That would allow you to simplify your callbacks to

<mj-text mj-class="paragraph typebox">

You can also set CSS classes as well if you need something outside the MJML spec for some reason (which would potentially cover some of your cross-platform concerns).

MJML also integrates well with other languages. For example, I use a Craft CMS integration to pull data in via Twig to build complete templates directly from my CMS; there’s also an integration with Eleventy.

RamiAwar
1 replies
21h55m

Anyone who has touched HTML emails knows the devilry involved. Kudos for developing and open sourcing this! Excited to try it out for my newsletter.

deskr
0 replies
1h21m

knows the devilry involved

You're being too kind if anything. Whilst trying to bash HTML emails into something acceptable I questioned if my life wouldn't better have been spent as a monk in Tibet.

2Gkashmiri
1 replies
23h43m

wow. this should help to design invoices, what do you think? html to pdf is not a problem anyway so....

samdung
0 replies
13h36m

you can design absolutely anything with the HTML editor - invoices included.

tamimio
0 replies
18h11m

It looks great, I will have to try it!

steviedotboston
0 replies
22h48m

I really like this idea!

ramathornn
0 replies
1d1h

Wow love it, great work on this! I think you've tapped into a nice market, trying to reproduce marketing dept. designs into HTML templates are always a pain.

I'm looking forward to seeing the product grow!

philmo1
0 replies
1d2h

Absolutely amazing. Really makes so much sense to have a solid mail editor as OSS!

jessyco
0 replies
1d1h

Love it see it, I think most "designers" like this tools are behind paywalls and subscription email platforms. This looks great thank you for sharing.

fallinditch
0 replies
1h54m

This looks great, nice job!

Does anyone here use Foundation for Emails? - I found it to be pretty good (circa 2020) but the code it produced still needed some tweaks to display images correctly in Outlook for Windows.

ashok_m
0 replies
1d

Looking for a simple email designer which will give us compatibility in all email clients. Surely will test this in this weekend.

_ache_
0 replies
1d

Did there is any history about the name ? Keep reading "Send nude". Sorry.

Turboblack
0 replies
1d2h

This is a very useful thing, I will definitely test it

PodgieTar
0 replies
1d1h

Gosh, my first job was writing HTML emails. Those heady days of lamenting the fact that some companies STILL use Lotus Notes not dead, I see.

Cyphase
0 replies
19h31m

I was just briefly searching for something like this the other day; will check it out. Thanks!