Send email with state_machine