Arcyd: refactor, inline 'configure_sendmail'

Test Plan:
$ ./precommit.sh