Google instead prefers to use their own XOAUTH2 mechanism as the authentication method, and treats all other authentication methods as "less secure". At this time, WHMCS does not offer this authentication method, and thus you need to configure your Google account to be accessed by "Less Secure Apps".
I can see how implementing specific support for Google's XAUTH2 mechanisms could be useful.
Featured Comment
Documentation: https://docs.whmcs.com/Mail_Providers