#66 use composite operation for adding mail configuration

This mostly fixes #66 and should make it work also on older versions of AS7.