Adding datetime as second parameter to avoid repeatly listing email in detail.php if the same message was sent many times.