My mother has a front loader and leaves the door open when not in use. Never has any mildew.
Yes if you remember to leave the door open or if being left open does not offend the sensibilities of the owner (you’d be surprised)
My 3 sons at one time or another worked for an appliance installer and have come across dozens of stinky front loaders that were being replaced....sometimes for the sole reason of being stinky.