Send an email to participants when a trial has ended.
closes #127