[python] Add source parameter to get_emailuser() function.
[mysql] Allow setting connection charset.