add test to verify association
adjust the logic of api that sends the email
corrects the test of emails_controller
Merge pull request #25 from darkseid/cuba/adjusts

Making adjusts