Alves helped Sevilla win the UEFA Cup, Copa del Rey and Spanish Super Cup treble in 2007 – putting in displays that caught the eye of the Special One.
Chelsea made moves to lure Alves to Stamford Bridge and the Brazilian thought it was done.
But the Blues pulled the plug at the 11th hour and Alves thinks it could have been down to Mourinho.
“I was this close,” he told Sky Sports while holding his thumb and finger up.
“I didn’t go to Chelsea because of the club, not because of me.
“I thought it was done, that I was going there to work with him.
“I don’t know if he got different information, that I didn’t want to go or whatever, because since then our relationship hasn’t been so good, but it wasn’t my fault.
“I was convinced that I was going to work with him and form part of his team.”
Having had a move to Stamford Bridge fall through, Alves duly completed a switch to Barcelona under Pep Guardiola.
Alves spent eight years at the club, winning La Liga seven times, Copa del Rey four times and the Champions League three times.
“I remember the first chat we [Guardiola] had,” Alves said.
“From the first moment, he made it very, very, very, very, very clear what he wanted and why had had taken the job.
“He had a tremendous desire to do something different as a manager of that club. Obviously it was going to be a challenge, but I remember he said, ‘I can only do it if you follow me.’
“It didn’t turn out too badly for him, eh?
“Guardiola improved me a lot as a footballer, he taught me a lot of things and that’s why in every interview I’m asked I always say the same thing: He is the best manager that I have worked with.
“He is a genius at key moments. He knows how to let his players know exactly what they should be doing. On many occasions, he was a manager who won us matches. We just had to follow his instructions.”