Skip to content



Folders and files

Last commit message
Last commit date

Latest commit



32 Commits

Repository files navigation

Wanelo Link Preview for Mixmax

Build Status

This is a home page for the open source Mixmax Wanelo Product Link Resolver.

Wanelo Product Links

Using It

To install the link resolver for your account, follow these instructions:

  1. Open up MixMax Integrations.
    • You can also get to this page by first clicking on 'Mixmax' in your Gmail sidebar, and then choosing "Integrations" in the left navigation.
  2. Once you are on the integrations page, scroll all the way down to the bottom.
  3. Click on the button that says Add Link Resolver.
  4. Fill out the form as follows:
    • Description: Wanelo Products
    • Regular Expression:[0-9]+
    • Resolver API URL:
  5. Click the Add link resolver button.


You should now be able to compose a new email, and paste any Wanelo Product URL, and see a fine preview of Wanelo product.

I'd like to note that the above URL is running on a free Heroku tier, and so it may take a few seconds to boot up the first time you use it.


  • This will only work for wanelo products. User profiles, store profiles, etc. are not currently supported.
  • MixMax will display a small preview for products even without this link resolver, because Wanelo product pages conform to the Open Graph. However, they are far from perfect, and show only limited information.
  • You will need to add this resolver to each Gmail Account separately.

Developing It

See for more information about how to create link resolvers.

Running locally

  1. Install using npm install
  2. Run using npm start

To simulate locally how Mixmax calls the resolver URL (to return HTML that goes into the email), pick any Wanelo product URL, and run it as below:

curl http://localhost:9146/resolver?url=

Using the Preview Mode

This resolver adds a simple way to preview — straight in the browser — the output from the resolver given a URL, both in JSON and HTML forms. This can be rather handy when developing the actual HTMl widget.

Instead of going to the /resolver page, just hit the home page of the resolver, and enter the product URL. Your should see something like this below:


Once you submit the form, and assuming you checked the preview box, you should see the full widget preview in your browser.

"Live" Preview of the Widget


The project uses Mocha library for tests, which can be run as follows:

npm test

Running Tests


Bug reports and pull requests are welcome on GitHub at


© 2016 Konstantin Gredeskoul, all rights reserved.

![title](file:///var/folders/dz/r8zs2sh953qd1k19gr0q3tj00000gn/T/DMDAF058E9C-F0FB-4DAB-92EF-BC0F07CD2962/mixmax-tests.png) Forked originally from the MixMax tutorial provided by

© 2015 MixMax, Inc.


This project is distributed under the MIT License.\


Wanelo link resolver for Mixmax, that currently resolves only product URLs.







No releases published


No packages published


  • JavaScript 91.7%
  • HTML 8.3%