WL-3142 Define error message for empty attachments

Taken directly from the latest trunk in sakaimirror.