Should the washing machine door be left open when not in use?

Yes. Leaving the door open, when not in use, will air out the drum and help to prevent mold and mildew buildup.