WL-3142 Define error message for empty attachments

Taken directly from the latest trunk in sakaimirror.
Merge pull request #9 from ox-it/WL-3142

WL-3142 Define error message for empty attachments