Mixpanel-mail is a project mainly written in Ruby, it's free.
Helpers for Mixpanel Tracking in Emails
404: Not Found