How can you create a view of content in a specific node type where there is an email address that will correspond with the email address of currently logged in user's email address? The content is not owned by user. This view will be used to assign relations to the user and other content with rules.
Here is the approach to provide a relationship between content and logged in user:
- Create a user view.
- Add a contextual filter on User: E-mail.
- Add a relationship on User: Content authored.
Now you can do rest of you functionality.
Since the content is not authored by the user, I needed to create a relation from the user to the content. The content has a matching email. I was able to achieve a list of content filtered by a user's email through Rules, VBO, and passing the email address as contextual argument. Then rules can apply the relation to the content.