Using the stock email app I am able to add my yahoo accounts, alumni edu/gmail account (similar to business gmail account), and personal gmail account. I however can't add my work gmail business account. I could just fine on my htc evo but not on the s4. I tried it manually imap setup and it just says "setup could not complete" authentication failed.
I have verified my settings under my gmail account that imap is active/etc.
I am using imap.gmail.com ssl 993 like I did with my evo but the s4 won't work for some reason.
The only thing I can possibly think of is that I have too many folders under my work gmail account. I am also able to add the account just fine using the gmail app instead but I prefer the stock email.
Under username field it must match email address as in full email address unlike the other email accounts I use.