add following "toISOString()" that will allow you to check Date is >,<,>=,<=,!= var today = new Date(); ...$filter=StartDate ge + today.toISOString() + and ...
Get the URL from the current user's profile via REST, the image tag used to display when the src is updated: /_api/sp.userprofiles.peoplemanager/getmyproperties endpoint which returns PersonalUrl property, user profile picture could be requested via _layouts/15/userphoto.aspx?size=&accountname= page, where size - could be set to S/M/L which stands for Small/Medium/Large image size accountname - user account name example : [src='/_layouts/15/userphoto.aspx?size=L&accountname=username@contoso.com' ]
Example1 # You must have Site Collection Access to use following process. function SendEmail($requestor) { try { $emailTo = $requestor $emailSubject = "Test" $emailBody = "Hi,This is a Test Email."