Automated Gmail Fetching, Regex News Digest Parsing, Silent Refresh Token Sync & FCM Push
MoRTH has initiated discussions with the defence ministry to develop a mechanism for recognizing eligible private vehicles without disrupting traffic ...
... Ministry of Road Transport and Highways (MoRTH) specifications, Indian Roads Congress (IRC) standards and project-specific contractual ...
Press Release: Press Information Bureau Wardha, November 1, 2026: Union Minister for Road Transport and Highways Nitin Gadkari said that the Multi-Modal Logistics Park being developed at ...
Shillong, Oct 31: Chief Minister Conrad K Sangma on Saturday met the Secretary, Ministry of Road Transport and Highways (MoRTH) to discuss repair ...
... vehicles on highways equipped with multi-lane free flow (MLFF) systems. The ministry of road transport and highways (MoRTH) has initiated ...
... transport undertakings (SRTU). A report last year by the Ministry of Road Transport and Highways (MoRTH) estimated that SRTUs across states held a ...
According to data from the Ministry of Road Transport and Highways, Tamil Nadu accounted for the highest number of reported pedestrian fatalities in ...
... road development projects in Kerala, public works minister P K Basheer said on Friday. The Union ministry of road transport and highways granted ...
The projects include 34 works on the expansion of 609 km long highways and construction of bridges under MoRTH at a cost of Rs 6,421 crore and three ...
The Ministry of Road Transport and Highways is planning to rank national highway (NH) corridors based on their performance to identify ...
Union road transport and highways minister Nitin Gadkari has asked officials to allow a 20 percent margin above the applicable speed limit before ...
MoRTH introduces a new rating framework for National Highways to assess efficiency, safety, and user experience, prioritizing improvements across ...
Additional Secretary, Ministry of Road Transport and Highways (MoRTH), Shri Mahmood Ahmed addressing at the 'Transport Mela' under PARIVARTAN Scheme ...
Ministry of Road Transport & Highways. azadi ka amrit mahotsav. NHAI ... Ministry of Road Transport & Highways. NHAI Ensures Highway Safety and ...
Ministry of Road Transport & Highways. azadi ka amrit mahotsav. NHAI Successfully Completes Anti-Encroachment Drive on NH-44 and NH-444A. Posted On ...
Additional Secretary, Ministry of Road Transport and Highways (MoRTH), Shri Mahmood Ahmed attends the 'Transport Mela' under PARIVARTAN Scheme at the ...
FASTag new rule from November 1, 2026: Check MoRTH's Rs 1500–Rs 3000 annual local pass, eligibility criteria and key restrictions for toll plaza ...
#FASTag local pass 2026#National Highway toll pass#FASTag annual pass for local residents#MoRTH toll pass rules#concessional toll pass from ...
Send an instant FCM push notification to all 35 active devices or target an individual device. Notifications are automatically sent whenever new emails/articles are synced.
Devices registered in MySQL (notification_devices) with their active push notification status.
| Device ID | Platform | Status | FCM Token | Updated | Action |
|---|---|---|---|---|---|
| device-android-1795499647403-rardcrld | Android | Enabled ✓ | 2026-11-24 11:33:41 | ||
| device-android-1795499251208-6ev6ywla | Android | Enabled ✓ | 2026-11-24 11:22:00 | ||
| device-android-1795496575252-zsqij5dk | Android | Enabled ✓ | 2026-11-24 11:16:12 | ||
| device-android-1795166860647-x2ihdb29 | Android | Enabled ✓ | 2026-11-24 10:48:29 | ||
| device-android-1795438964946-uzidknq9 | Android | Enabled ✓ | 2026-11-24 10:19:37 | ||
| device-android-1795154951998-zi6n4o64 | Android | Enabled ✓ | 2026-11-24 08:45:41 | ||
| device-android-1795459972660-fx3is4px | Android | Enabled ✓ | 2026-11-24 00:28:28 | ||
| device-android-1795458593341-i05wqlko | Android | Enabled ✓ | 2026-11-24 00:00:49 | ||
| device-ios-1795159210257-nptwvp4i | iOS | Enabled ✓ | 2026-11-23 19:03:24 | ||
| device-android-1795438964938-sf9p9qux | Android | Enabled ✓ | 2026-11-23 18:32:46 | ||
| device-android-1795438195846-a2fnyncn | Android | Enabled ✓ | 2026-11-23 18:19:57 | ||
| device-android-1795438195853-rokk0v6x | Android | Enabled ✓ | 2026-11-23 18:19:57 | ||
| device-android-1795435074504-s1207dgp | Android | Enabled ✓ | 2026-11-23 18:15:04 | ||
| device-android-1795435737150-qjf2hm6s | Android | Enabled ✓ | 2026-11-23 17:48:21 | ||
| device-android-1795435074502-01g08by7 | Android | Enabled ✓ | 2026-11-23 17:27:57 | ||
| device-android-1795434835000-qs98fgrz | Android | Enabled ✓ | 2026-11-23 17:23:56 | ||
| device-android-1795420003879-3vhlug50 | Android | Enabled ✓ | 2026-11-23 17:10:26 | ||
| device-android-1795422701261-w8nco0yh | Android | Enabled ✓ | 2026-11-23 16:48:49 | ||
| device-android-1794982807522-4ds6k3y7 | Android | Enabled ✓ | 2026-11-23 10:47:36 | ||
| device-android-1795159212789-f7rsjeeh | Android | Disabled ✗ | 2026-11-20 17:44:36 | ||
| device-android-1795073562641-rl8chv5y | Android | Disabled ✗ | 2026-11-20 17:44:35 | ||
| device-android-1795073315986-8v4dph2y | Android | Disabled ✗ | 2026-11-20 17:44:34 | ||
| device-android-1794981119152-93rf3h9w | Android | Enabled ✓ | 2026-11-20 17:35:01 | ||
| device-android-1794978420049-cgvj1n1x | Android | Enabled ✓ | 2026-11-20 15:11:00 | ||
| device-android-1795166860646-d2j1z4qf | Android | Enabled ✓ | 2026-11-20 14:57:42 | ||
| device-ios-1795157353691-jj99itwj | iOS | Enabled ✓ | 2026-11-20 12:48:49 | ||
| device-android-1795157824878-w8dy3iba | Android | Enabled ✓ | 2026-11-20 12:48:22 | ||
| device-ios-1795151971619-jvv2j1im | iOS | Enabled ✓ | 2026-11-20 12:07:26 | ||
| device-android-1795154951999-gfk0qibp | Android | Enabled ✓ | 2026-11-20 11:39:12 | ||
| device-android-1794985991971-n81kg3ji | Android | Enabled ✓ | 2026-11-19 17:40:30 | ||
| device-android-1794983397140-qleieg99 | Android | Enabled ✓ | 2026-11-19 16:01:52 | ||
| device-android-1794993707712-ll5iehrx | Android | Enabled ✓ | 2026-11-18 14:51:50 | ||
| device-android-1794993707711-4rd18f4r | Android | Enabled ✓ | 2026-11-18 14:51:50 | ||
| device-android-1794985991967-rssipve0 | Android | Enabled ✓ | 2026-11-18 12:43:15 | ||
| device-android-1794983397139-wf9bio8s | Android | Enabled ✓ | 2026-11-18 11:59:59 | ||
| device-android-1794982854928-hu71tww7 | Android | Enabled ✓ | 2026-11-18 11:50:56 | ||
| device-android-1794982854930-jya9dqh7 | Android | Enabled ✓ | 2026-11-18 11:50:56 | ||
| device-android-1794982807514-qiwdsle4 | Android | Enabled ✓ | 2026-11-18 11:50:09 |
This queries your Gmail inbox in real-time, extracts MIME parts, runs the Google Alerts regex flattener, and returns the individual news articles.
Press "Fetch Live Messages" to see real-time parsed articles.
Unlike traditional web flows where a user must manually click login every hour, this PHP implementation utilizes Google's access_type=offline OAuth2 flow.
/auth.php with prompt=consent.refresh_token, which is automatically saved to the MySQL database (app_settings table).scripts/sync_news.php) or API calls run, PHP checks if the cached access token is expired. If expired, it sends a direct cURL POST to https://oauth2.googleapis.com/token to obtain a fresh access token without user interaction.| Database Engine: | MySQL / MariaDB (Active DB: drivingapi ✓) |
| Google Client ID: | 310899356827-9toprk47vc9mffjbhfudumqo7be3bpfa.apps.googleusercontent.com |
| Redirect URI: | https://drivinglearningappapi.gaurish.com/callback.php |
| Active Refresh Token: | 1//0gqnw2aQ2uim...1xLWDMeGHkwp7Qc |
| Firebase Service Key: | ✓ Loaded (config/serviceAccountKey.json) |
| Firebase Project ID: | drivementor-e5e75 |
| Allowed Senders Filter: | [email protected] |
| PHP Engine Version: | PHP 8.2.36 (Compatible with 7.4.30 and 8.0+) |
To run the synchronization periodically (e.g., every 1 hour) without needing a browser open, run scripts/sync_news.php via PHP CLI:
php scripts/sync_news.php
Or call it via an HTTP Webhook:
curl http://localhost:8000/api/emails/sync.php
?search=query)