code wrapped in plug-in function(properties still to be added)
date added to email