All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah and that Muhammad is His slave and Messenger.
First of all, in principle, what a person uses is permissible unless one preponderantly thinks otherwise. Therefore, one should not investigate what a person uses when dealing with him without a real reason for doing so. This is nothing but obsessive whisperings and blameworthy exaggeration.
Even if we were to assume that what you think is true, that people use pirated programs, then this does not prevent dealing with them and receiving their emails and other things that you mentioned in the question. Therefore, there is nothing wrong with dealing with the files that you receive from people who use pirated programs and everything that is related to this, as long as you do not use a pirated program yourself.
Allaah knows best.