(feat) implemented scheduler and ablity to send emails on time