I would never open an unsolicited or unexpected email's attachment in case it contained a virus, or malware, etc. I would either delete the attachment unopened, or contact the sender to confirm it is safe to open. Therefore, I would say it was not okay!