Revert "Fix #1324 - Add error message for empty attachments"

This reverts commit f455ef468a951301afb3c2cdb6f64e00ff2d5654.