Move $sent

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>
Only set debug recipient when in debug

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>