Skip to content
/ vmail Public

VMail - check the markup (HTML, CSS) of HTML email template compatibility with email clients

License

Notifications You must be signed in to change notification settings

le0pard/vmail

Repository files navigation

VMail - check the markup (HTML, CSS) of HTML email template compatibility with email clients

Build and Deploy

VMail

Email clients use different rendering standards. This is why your email can be displayed not as you designed it. You need to check that your message code won't cause rendering issues.

Vmail (Validate Email) check the markup (HTML, CSS) of HTML email template content in search of problematic elements. For each it finds, it displays the list of email clients that lack support for it or support it only partially.

VMail collect the data on support for particular HTML & CSS rules from Caniemail.com

Development

To start it in development mode, you need install ruby, node.js, golang and run in terminal:

$ bundle # get all ruby deps
$ yarn # get all node.js deps
$ bundle exec rake wasm:parser # build wasm parser module
$ bundle exec rake wasm:inliner # build wasm inliner module
$ yarn dev # start server on 3000 port

Build wasm files from Go files

$ bundle exec rake wasm:parser # build wasm parser module
$ bundle exec rake wasm:inliner # build wasm inliner module

Format svelte components

yarn prettier --write --plugin-search-dir=. ./src/components/*

Benchmark parser

$ cd wasm_parser/parser
$ go test -benchmem -bench=.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request