This song is very groovy.
If you guys are a guitar player , you could play this when you connect to the song.
It's just F# minor pentatonic scale. John is very talent guys. He just play around with the same box of pentatonic scale but it's very tasty lick.
And another key thing in this outro is mute note that up to 16 note. And also triplet.
This is a lick that should give it a shot.
PS. I recorded this video from Samsung S4
and My gear is just
Fender Stratocaster (John Mayer Signature) - 4th PU position (Bridge and Middle)
Boss GT-100 with Clean boost + Boss comp
Cheers ,
guitaroa47