How about running the washer on a self clean cycle or running it with HOT water and vinegar or bleach to clean it out. There are also products for cleaning the washer that you add. Mine has a reminder to self clean after 20 washes. The smell could be coming from the washer it self, old water sitting or mildew growing in the nooks and crannies.