Canadian-MP-Letter-Campaign is a project mainly written in PHP, it's free.
Drupal module to allow users to send easily send letters to their federal MPs