Fixes bug which caused unencrypted/unsigned emails to not be sent