association between messages and items now works

contact form creates messages associated with items. will set up the mailer next.