Leaving any electrical device unplugged for any length of time is unsafe. That is a potential fire. In my office, we just rotate the responsibility.
Coffee beans absolutely grow mold spores, plus I would think if not properly cleaned, it would change the taste of the coffee.