All this to say: you shouldn't have to worry about sensitivity for most of those kinds of phrases, except where someone is trying to make you say what you didn't want to say. Call it out when it happens and move on; don't apologize, and don't allow people to read malice into your intentions that you never had.
Example: If there are no black people in your office, and you use the N word a million times, and I complain, am I wrong to complain because there were no black people around to get offended or because you didn't intend malice? What's the point of caring whether someone uses a racial slur? Is it just because "that's what we're supposed to do" ? Or is there a deeper problem that we're trying to address?
With the N word, you're perpetuating a hurtful stereotype. With 'hey you guys', you're perpetuating a hurtful stereotype. The roots of both stereotypes are a form of supremacism where one group asserts its dominance on the other. The former is about racial dominance, the latter is about gender dominance. It's basically saying one group is more important than all the others, or one is inferior. That has real world effects and does really bother people.
Maybe only one of them bothers you. That doesn't mean only one of them is valid. Logical deduction shows that they are both discrimination. It's up to you to decide what kind of discrimination you care about.
There's a reasonability test here: if someone complains about the 2nd-person plural pronoun in one of the most widely spoken dialects of English, that's inherently less reasonable than complaining about use of a racial slur that's almost universally reviled. The latter is reasonable, but the former looks like moral crusading, perhaps even bullying.
As far as I know, "guys" isn't really gendered, with the exception of a few people on a linguistic crusade trying to make a point.
I'd probably go with "hi all" for a slightly more formal situation.
There's some subtlety, though, because "the guys" or "some guys" or anything like that remains gendered, as in "I'm going out with the guys"—that'd be a group of at least mostly men, and probably entirely men.