System to send automatic emails