# Emran Hossain > Emran Hossain is a Tech Lead and full-stack & platform engineer at Gain Solutions in Dhaka, Bangladesh, leading a team of up to fourteen engineers across three multi-tenant SaaS products (a support desk, a CRM and a payroll platform) and owning the AWS, Google Cloud and Cloudflare estate they run on. Emran works in TypeScript and Node.js with GraphQL, Next.js and PostgreSQL, and builds Model Context Protocol servers that expose those products to AI assistants. - Role: Tech Lead ยท Full-Stack & Platform Engineer - Employer: Gain Solutions (https://www.gainhq.com/) - Location: Dhaka, Bangladesh - Site: https://emranffl.github.io/portfolio/ - Profiles: https://www.linkedin.com/in/emranffl/, https://github.com/emranffl, https://medium.com/@emranffl ## Case studies - [Untangling shared cloud projects under live customers](https://emranffl.github.io/portfolio/case-studies/gcp-per-environment-migration/): Two products shared Google Cloud projects whose boundaries no longer matched their environments. Separating them meant moving sign-in, mail sync and API credentials while customers kept working. - [Finding the queue that was feeding itself](https://emranffl.github.io/portfolio/case-studies/sqs-retry-storm-forensics/): A cost line on a non-production account looked wrong. Behind it were two background jobs quietly retrying forever, and no alarm that would ever have said so. - [Letting the task pick the model](https://emranffl.github.io/portfolio/case-studies/model-per-task-evaluation/): One model served every AI feature across three products. I built an evaluation harness, with an AI assistant as the pair, that scores candidates per task and picks the cheapest one that clears the bar. ## Projects - [gain.io](https://gain.io): CRM platform โ€” architecture, serverless backend and cloud estate - [payrun.app](https://payrun.app): Payroll and workforce platform โ€” localization, edge delivery and AI tooling - [easydesk.app](https://easydesk.app): Support desk โ€” one inbox for email, live chat and social messages - [betterbangladesh.io](https://betterbangladesh.io): Robust backend infrastructure with MongoDB integration and secure authentication - [aritsltd.com](https://aritsltd.com): Modern frontend with WordPress CMS integration and optimized content delivery - [@aritslimited/commitlint](https://github.com/aritslimited/commitlint): Custom commit linting tool with Jira integration - [deep-object-key-alternator](https://github.com/emranffl/deep-object-key-alternator): Tool for recursively transforming nested object structures - [merlinapp.co.uk](https://merlinapp.co.uk): Fullstack application with microservice architecture and advanced security features ## Project write-ups - [MCP servers for Gain.io and Payrun](https://emranffl.github.io/portfolio/projects/mcp-servers/): Letting people ask an AI assistant about their own helpdesk and payroll data, and trusting the product's existing permissions to decide what it may see. ## Optional - [Resume (PDF)](https://emranffl.github.io/portfolio/resume/Emran-Hossain-Resume.pdf)