NEUROP-1017
Added possibility to select if send via sendgrid or smtp for main system function
Adapt code to send parameter to Sendgrid API creating a queue row
Create a cronjob that periodically (about every 1 minute) send unsent sendgrid_queue rows
NEUROP-1020
NEUROP-990