teambox/teambox — pull request #36 by mrtorrent (2011-11-16 14:20:43+00:00)
Title: Fix broken processing of incoming email attachments

Incoming e-mail processing for e-mails with attachments is broken because Paperclip expects an object that implements rewind, which the mail part objects do not. They also do not have some attributes Paperclip requires.

This commit fixes these issues.