Integration with email marketing automation