(resolves #14) - do not process attachments twice