User needs to access the folder and files inside the folder directly using URL provided them via mail. Permissions of document library is inherited from site but broken at Folder level. User does not have permission to site or document library.
So now user is getting access denied message while accessing the document or folder using URL(user has read only permission for the folder and document).
Please help with proper explanation, why user is not able to access the site?