Enable sending emails; fix missing SetDeliveryAttempted implementation