
17 respostas
Hi Biljana, As you written, Email's are creating from emailService i.e. from system level user. While all the components in lightnings are derived from Logged-in User permissions.
- So, you need to modify controller and add "without sharing" keyword.
- Now, query EmailMessage's which are relevant for particular logged in user, based on filter criteria.
- Display these in component.
Hope this help!
Thanks,
Gaurav
skype: gaurav62990