Upvote:1
You would likely need more than an email as proof accommodation, as part of the visa application to Spain (consistent with Schengen visa guidance).
A letter of invitation outlining the fee-based agreement would be more suitable, the person renting to you should be a citizen or a legal resident Spain, the document verified at the local police station. It should have:
Attach the original, signed letter to your application.