Most accounts nowadays force users to use app passwords when using 3rd party apps. Most likely this is what you need.