Answer:
Select EmailAddress,max(total) from (Select EmailAddress, OrderID, sum(total) as total from OrderItems group by EmailAddress, OrderID) group by EmailAddress
Explanation:
First step is group the rows by email and order id and sum de total of orders
Select EmailAddress, OrderID, sum(total) as total from OrderItems group by EmailAddress, OrderID
Then you use the above query as a subquery grouping by the email and selecting the max value by client
Select EmailAddress,max(total) from (Select EmailAddress, OrderID, sum(total) as total from OrderItems group by EmailAddress, OrderID) group by EmailAddress