Adding SMIMEA support