make letter_opener optional in test mode