handle cases where the from address might not be set
Merge pull request #216 from owncloud/fix-no-from

handle cases where the from address might not be set