Both virus message and heuristic warning contain info about sender of the message. You can find it out even afterwards. If it was the virus message, the original mail was delivered to your inbox just with the attachment deleted. If it was the heuristic warning, you received message with subject "[avast! heuristic - WARNING]" that contained info about the original message.