Is it possible to be notified before a task is due, similar to how you can set notifications for events on Google Calendar?
Google Tasks does not provide email alerts.
As mentioned by @Antoops, you can set alerts for Google Calendar events which may provide the functionality you are looking for.
It would be nice to see Google add the ability to set alerts for tasks, but I think they have left it out on purpose (since a task list is something you should check regularly by design vs. being pushed alerts/reminders)
This support thread has further reading on this feature request.
Have checked what Morad replied and it is correct. You can use [r:HH:MM] in the notes section of the tasks to set a reminder. You will see a reminder only when you are using an app like Astrid or Gtasks that provides a reminder facility while syncing to Google Tasks.
The MyTasks App for Iphone seems to access the Remind me x minutes before the due date and integrates perfectly with GTasks. Not sure where the Alert data is stored but it does work.
You can set a reminder using the notes section of the task.. For example if you want the reminder to be on 11:00 in the due date, then you set the due date normally and then type [r:11:00] inside the notes of the task. It worked for me..
Here's a short script I wrote that takes tasks that have a due date, puts them on the calendar (7 am) and marks them as done! (then you'll get a calendar alert for them .)