added email subscription support