Assume your table is tblEmail with these columns:
ID, DataSet, Folder, From, To, Subject, Body
To group the records by From/To/Subject, selecting only the lowest/first DataSet for that set of duplicates, you can create a query qryImportantEmails as follows:
SELECT Min(tblEmails.Dataset) AS...